cancel
Showing results for 
Search instead for 
Did you mean: 

Could not send e-mail

swa1
Champ in-the-making
Champ in-the-making
Hi,

when sequence flow comes to my email task, there occurs the following error:
01100003 Wrapped Exception (with status template): Could not send e-mail
What could be the reason for that?

Logfile says:
13:32:35,984 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 01100001 Wrapped Exception (with status template): Could not send e-mail
6 REPLIES 6

dindras
Champ in-the-making
Champ in-the-making
Maybe you should check your activiti configuration settings for smtp mail server - mail host, port, authentication (if any).

swa1
Champ in-the-making
Champ in-the-making
The configuration data for the mail server are correct. But in which activiti.cfg.xml I have to put them? There are several of it.
Is there anything to do for me after setting the configuration data in the activiti.cfg.xml?

dindras
Champ in-the-making
Champ in-the-making
Still not 100% sure if it is the right way to do things, but for me this setup worked:

first, entered mail server configuration in file
setup/files/cfg.activiti/standalone/activiti.cfg.xmlsecondly, ran
ant cfg.create demo.stop build.webapps deploy.activiti.cfg.into.tomcat demo.startThis discussion helped me figured out the details:
http://forums.activiti.org/en/viewtopic.php?f=6&t=1083

swa1
Champ in-the-making
Champ in-the-making
Thanks for your hint.
At first it seemed to work. The activiti-cfg.jar in apps/apache-tomcat-6.0.29/webapps/activiti-rest/WEB-INF/lib was updated. But when I now try to log in to Activiti Explorer (or one of the other components) I get an error: The system was unable to log you in.
I have no idea what I've done wrong. I put the mailserver data manually into the activiti-cfg.jar and after that it is possible again to log in but the former error occurs again: 01100003 Wrapped Exception (with status template): Could not send e-mail

tombaeyens
Champ in-the-making
Champ in-the-making
the demo setup is not designed for trying all kinds of configuration updates.  but this might work:

stop the demo with demo.stop
then try the demo.clean target
and then the demo.start again

swa1
Champ in-the-making
Champ in-the-making
Thanks Tom. That worked for me. All fine now.