5 Replies Latest reply on Mar 7, 2010 8:04 PM by kukeltje

    Mail Server Configuration in JBPM

    toriton

      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@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.