Facing issue to send an email from Activiti
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-30-2016 03:32 AM
Hi All,
I'm facing issue to send email from Activiti. getting exception 'org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.office365.com:587'. Please find the attached notes for exception and my configurations.
1) I also added the following dependencies in Maven, Updated pom.xml file with dependicies
2) Updated activiti-custom-context.xml file with SMTP details to send an email
3) Updated engine.properties file with email details to enable to send an email
and using email task to send send an emails but getting error message, Please find the attached logfile.txt to for more details.
Could please provide me wheere I have done the mistake.
Thanks for your help in advance.
Thanks
Sesh
I'm facing issue to send email from Activiti. getting exception 'org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.office365.com:587'. Please find the attached notes for exception and my configurations.
1) I also added the following dependencies in Maven, Updated pom.xml file with dependicies
2) Updated activiti-custom-context.xml file with SMTP details to send an email
3) Updated engine.properties file with email details to enable to send an email
and using email task to send send an emails but getting error message, Please find the attached logfile.txt to for more details.
Could please provide me wheere I have done the mistake.
Thanks for your help in advance.
Thanks
Sesh
Labels:
- Labels:
-
Archive
pom_xml.txt.zip
1 KB
logfile.txt.zip
3 KB
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-30-2016 08:58 AM
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-01-2016 06:02 AM
Yes, I can able to connect and send email from in my local system ( plain Java class). But same configuration is not working in Activiti. Please find the attached Java Class for your reference.
email_0.txt.zip
1 KB
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-01-2016 08:47 AM
Can you prepare jUnit test with sample user?
Regards
Martin
Regards
Martin
