Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

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:587

The joget.log said:

Wiki Markup
\[code\] test \[/code\]

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:1232)ERROR 12 Nov 2014 15:16:58 org.joget.apps.app.lib.EmailTool                   - org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.gmail.com:465INFO  12 Nov 2014 15:16:53 org.joget.apps.app.lib.EmailTool                   - EmailTool: Sending email from=adnasworkflow@gmail.com, to=patrick.montalto@adnas.com, cc=, subject=Proposal Approved: Second Request
ERROR 12 Nov 2014 15:16:58 org.joget.apps.app.lib.EmailTool                   - org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.gmail.com:465

What am i doing wrong?