[jboss-user] [JBoss jBPM] - Mail Server Configuration in JBPM

Toriton do-not-reply at jboss.com
Wed Mar 18 06:52:54 EDT 2009


Hi all i'm trying to send a mail with a MailNode in JBPM but there is  a problem seem on the SMTP server that i'm using.

this is how i configured JBPM file:

<string name="jbpm.mail.smtp.host" value="smtp.gmail.com" />
  | 	<string name="jbpm.mail.from.address" value="pluto at pippo.com" />
  | 	<string name="jbpm.mail.smtp.starttls.enable" value="true" />
  |   <string name="jbpm.mail.user" value="username" />
  |   <string name="jbpm.mail.pass" value="password" />
  | 	<string name="jbpm.mail.port" value="465" />
  | 	<string name="jbpm.mail.smtp.socketFactory.port" value="465" />
  |   <string name="jbpm.mail.smtp.socketFactory.class" value="javax.net.ssl.SSLSocketFactory"/>


As you can see the SMTP server that i'm using is the GMail Server.


And this is the exception:




  | 2009-03-18 11:41:24,796 INFO  [STDOUT] Cannot send mail, now retrying: com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first. l19sm707358fgb.7
  | 2009-03-18 11:41:24,796 ERROR [org.jbpm.mail.Mail] Cannot send mail, now retrying: com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first. l19sm707358fgb.7
  | 


Anyone can suggest me if i'm missing some configure properties?

Thanks in advance.
T.




View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219004#4219004

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219004



More information about the jboss-user mailing list