Error sending email 2: connection failed

I have used gmail smtp server but while sending email its giving Connection failed error.


Hi Afaque,

If I remember correctly, the SMTP port needs to be 587. Furthermore, you should republish your application after changing email configuration for it to be applied correctly.

Refer to this post for more information.

And here are some other useful links regarding this topic.

https://success.outsystems.com/Support/Personal_Environment/How-to_send_emails_from_your_personal_environment

https://www.outsystems.com/forums/discussion/11645/how-to-send-emails-from-your-personal-environment/

https://www.outsystems.com/forums/discussion/18791/gmail-smtp-not-working-in-personal-environment/#Post72767

Regards,

Nordin

If it still doesn't work, check if your account is with one step authentication only and "Allow Less secure apps" on.

https://myaccount.google.com/lesssecureapps


Solution

Thanks @Nurodin and Nuno, to make it work I have changed port to 587 and in my account made  "Allow Less secure apps" On. 


Thanks

Solution

Glad we could help Afaque.