I am trying this block but it’s not working please guide me.
There are few parameters missing such as
set both to true
I know why it is not working, you haven’t Enabled less secure apps in you google account
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?