[jboss-user] [jBPM] - Email Problem with JBPM

Ravi Sawlani do-not-reply at jboss.com
Fri Feb 18 06:57:11 EST 2011


Ravi Sawlani [http://community.jboss.org/people/ravisawlani86] created the discussion

"Email Problem with JBPM"

To view the discussion, visit: http://community.jboss.org/message/588309#588309

--------------------------------------------------------------
Hi

I am trying to send mail using org.jbpm.mail.Mail in a normal node using jBPM's own Mail(org.jbpm.mail.Mail) class as the handler.I get this exception:
17:21:30,747 WARN  [Mail] cannot send mail (3 retries left): Could not connect to SMTP host: localhost, port: 25
17:21:31,747 WARN  [Mail] cannot send mail (2 retries left): Could not connect to SMTP host: localhost, port: 25
17:21:32,763 WARN  [Mail] cannot send mail (1 retries left): Could not connect to SMTP host: localhost, port: 25
17:21:33,763 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
org.jbpm.JbpmException: cannot send email
.
.
.
.
Caused by: javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;
  nested exception is:
    java.net.ConnectException: Connection refused: connect

how can i send the mail from a particular IP address instead of  "localhost".
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/588309#588309]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110218/55c94972/attachment.html 


More information about the jboss-user mailing list