Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
4 replies
Subscribers
7 subscribers
Views
6973 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
EMAIL - SMTP
sandeepg138
over 7 years ago
Hello,
We have configured gmail account for our server, and I have tested this that Email is being sent.
But It is observed that it is working intermittently. Sometimes the node is failing.
When I try to restart the failed node again then it works fine.
Do I need to make the conf.mailhandler.mail.transport.protocol=smtp as smtps
and port from 587 to 465.
In the log file, error shown is below:
Caused by: javax.mail.MessagingException: Unknown SMTP host: smtp.gmail.com;
nested exception is:
java.net.UnknownHostException: smtp.gmail.com
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1970)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:642)
at javax.mail.Service.connect(Service.java:295)
at com.appiancorp.ap2.mail.Mail.sendMessage(Mail.java:328)
at com.appiancorp.ap2.mail.Mail.sendMessage(Mail.java:220)
at com.appiancorp.ap2.mail.Emailer.send(Emailer.java:124)
at com.appiancorp.a...
OriginalPostID-256311
Discussion posts and replies are publicly visible
Parents
0
Sathya Srinivasan
Appian Employee
over 7 years ago
This is what I use. Note: I dont have DUAL FACTOR authentication set up in GMAIL. If you do, it might be different.....
conf.mailhandler.mail.smtp.auth=true
conf.mailhandler.mail.user=mygmail@gmail.com
conf.mailhandler.mail.smtp.starttls.enable=true
conf.mailhandler.mail.smtp.starttls.required=true
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Sathya Srinivasan
Appian Employee
over 7 years ago
This is what I use. Note: I dont have DUAL FACTOR authentication set up in GMAIL. If you do, it might be different.....
conf.mailhandler.mail.smtp.auth=true
conf.mailhandler.mail.user=mygmail@gmail.com
conf.mailhandler.mail.smtp.starttls.enable=true
conf.mailhandler.mail.smtp.starttls.required=true
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data