[jboss-user] [JBoss jBPM] - Send mail - mail.smtp.auth=true

Ulrike do-not-reply at jboss.com
Tue Mar 18 09:06:46 EDT 2008


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?

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

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



More information about the jboss-user mailing list