Send mail from GMAIL using SMTP

HI friends,

i’m trying to send mail using “send SMTP mail message” activity ref…screenshot

when i’m executing the bot, getting following error
image

i have enabled less security apps in gmail account and i’m able to read mails but unable to send mail.

please help me on this
Thanks in advance

saikrishna

Port Display Name:587 and create uname and password variables of string type and remove the .ToString method used in PasswordDisplayName