You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Hello,

I have Joget v4 and I am using the CRM app to test out some settings. I've set up the email tool for gmail as follows:

SMTP Host: smtp.gmail.com

SMTP Port: 465

Security: SSL

SMTP Username: adnasworkflow@gmail.com

SMTP password: ******

//////

From: adnasworkflow@gmail.com

To (specific): pmont@gmail.com

//////

I am not getting emails, however. The email.log file said:

org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.gmail.com:465

I also tried SMTP Port: 587 and changing Security to TLS and it had yielded a similar result:

 org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.gmail.com:587

The joget.log said:

org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.gmail.com:465

at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1242)

at org.apache.commons.mail.Email.send(Email.java:1267)

at org.joget.apps.app.lib.EmailTool$1.run(EmailTool.java:207)

at java.lang.Thread.run(Unknown Source)

Caused by: javax.mail.AuthenticationFailedException

at javax.mail.Service.connect(Service.java:319)

at javax.mail.Service.connect(Service.java:169)

at javax.mail.Service.connect(Service.java:118)

at javax.mail.Transport.send0(Transport.java:188)

at javax.mail.Transport.send(Transport.java:118)

at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1232)

What am i doing wrong?

  • No labels