cancel
Showing results for 
Search instead for 
Did you mean: 

Facing issue to send an email from Activiti

seshubabu
Champ in-the-making
Champ in-the-making
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
3 REPLIES 3

seshubabu
Champ in-the-making
Champ in-the-making
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.

martin_grofcik
Confirmed Champ
Confirmed Champ
Can you prepare jUnit test with sample user?

Regards
Martin