cancel
Showing results for 
Search instead for 
Did you mean: 

Mail configuration setting

rajee434
Champ in-the-making
Champ in-the-making
Hi ,

Can you tel me as how and where to set mail configuration settings in Activiti?

I want to send email in my process. I tried Service task with activiti:type="mail" .

But it says cannot send mail error when sequence flows to that task.

05170005 Wrapped Exception (with status template): Could not send e-mail

I get this error.

How to set the configuration.
Kindly help me out.

Thanks
Rj
5 REPLIES 5

nfox241
Champ in-the-making
Champ in-the-making

rajee434
Champ in-the-making
Champ in-the-making
Hi ,

As stated in userguide i entered my mail settings in activiti.cfg.xml . Then i ran demo.start.
But later when i checked activiti.cfg.xml the changes which i made was not present.
Why is this?
How to make changes to my activiti.cfg.xml ?

Thanks,
Rg

rajee434
Champ in-the-making
Champ in-the-making
Hi ,
Any update on this.
Any help.

Thanks
Rajee

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
any patience? It IS weekend you know…

Oh, and btw…

http://catb.org/~esr/faqs/smart-questions.html#beprecise

frederikherema1
Star Contributor
Star Contributor
If you're using the demo-setup, you should beware what config-file you edit. The config-file is populated from the properties-file, and packaged in a JAR and copied to /WEB-INF/lib/ of the activiti-rest webapp (activiti.cfg.jar). This is where you should alter it (or look for the file that is used to generate the activiti.cfg.xml file, based on the build.properties and adjust that one).