Gmail as SMTP Server on Appian 18.3

Hi,

I have just installed a new Appian Server 18.3 on a Windows 2016 Server but I could not make work GMAIL (on TLS) as SMTP Server.

By launching a simple process with a sendMail smart service the tomcat log says:

I configured custom.properties and password.properties with USER and PASSWORD by following documentation, with these parameters: 

custom.properties:

conf.mailhandler.mail.smtp.host=smtp.gmail.com:587
conf.mailhandler.mail.smtp.auth=true
conf.mailhandler.mail.user=myaccount@gmail.com

conf.mailhandler.mail.smtp.starttls.enable=true

conf.mailhandler.mail.smtp.starttls.required=false

password.properties:
conf.password.SMTP=mygmail.password

If I try to connect from the command prompt on the server with telnet smtp.gmail.com 587 it appears successfully connected

  

And finally, we have another Appian Server version 17.2 on Ubuntu with the same configuration on same network but it works perfectly.

Can you help me?

Thanks!

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    I haven't been able to get authentication to work successfully with Gmail relays with the work I've done previously. I have had success with IP whitelisting instead, though that might not meet your needs.

    On the authentication front, I'm wondering if there are issues if you have MFA or something enabled, such that the "basic" SMTP auth wouldn't work? The visibility Google provides isn't great, so it was very hard to diagnose and why we ended up trying a different method.

    Mostly for anyone else seeing this post - this reference is a good starting point : support.google.com/.../176600
Reply
  • 0
    Certified Lead Developer
    I haven't been able to get authentication to work successfully with Gmail relays with the work I've done previously. I have had success with IP whitelisting instead, though that might not meet your needs.

    On the authentication front, I'm wondering if there are issues if you have MFA or something enabled, such that the "basic" SMTP auth wouldn't work? The visibility Google provides isn't great, so it was very hard to diagnose and why we ended up trying a different method.

    Mostly for anyone else seeing this post - this reference is a good starting point : support.google.com/.../176600
Children
No Data