Email Template required SMTP config

0
Hi  Experts, I am new to Mendix and I am doing a project where I need to create a PDF document and send it to through email. I am using EmailTemplate App but not able to do the SMTP config getting an error like "Sending the email to the following server failed : www.gmail.com:465". Please guide me on this.
asked
5 answers
1

Did you try to setup gmail according to these documentation: https://docs.mendix.com/deployment/mendixcloud/sending-email

Regards,

Ronald

 

answered
1

If you have two factor authentication set up on your gmail you may need to set up what is called an app password.

https://support.google.com/accounts/answer/185833?hl=en

answered
0

Thanks for the suggestion.

Yes I am doing setup as mentioned in that document like by providing below details, Host Port SSL/TLS Username Password, But I am not sure whether it is correct or not. Like SMTP host I am giving as smtp.gmail.com, port as 467. ssl.tls as true and username and password of my personal gmail account.

answered
0

I have deactivated (Turned OFF ) 2FA set up in my gmail account. Still getting same error "Sending the email to the following server failed : smtp.gmail.com:465

answered
0

 

"Access for less secure apps has been turned on"  After this setting in my gmail account I am able to send email from Mx. 

Thank you Experts for you advice.


 

answered