1 Reply Latest reply on Mar 18, 2008 11:00 PM by Ronald van Kuijk

    Send mail - mail.smtp.auth=true

    Ulrike Newbie

      I need to send jbpm-reminder-mails through server that requires smtp-authentification.

      In 'jbpm.mail.properties' I can't set the password, so authentification will always fail...

      In org.jbpm.mail.Mail I encountered following line:

      Transport.send(message);
      

      I think I need to send my mail like this:
      Transport transport = session.getTransport("smtp");
      transport.connect(host, user, pwd);
      transport.sendMessage(message, message.getAllRecipients());
      transport.close();
      

      Any ideas?