I am trying this block but it’s not working please guide me.
Thank you.
There are few parameters missing such as TlsEnabled
and Auth
,
set both to true
I know why it is not working, you haven’t Enabled less secure apps in you google account
https://myaccount.google.com/lesssecureapps
If component still gives you error, you can use my aix made specifically for Gmail SMTP
com.kab.MailSender.aix (705.7 KB)
Do we have to use email in username and host will be same?