Kukeltje,

I did a program in Java, using the class javax.mail, and, using the code below, 
I can send email, using the same smtp server and the same email address that I 
tried in jBPM:


  | Properties p = new Properties();
  | p.put("mail.host", "MyServerSMTP"); 
  | Session session = Session.getInstance(p, null);
  | MimeMessage msg = new MimeMessage(session); 
  | msg.setFrom(new InternetAddress("[EMAIL PROTECTED]"));
  | msg.setRecipient(Message.RecipientType.TO, new InternetAddress("[EMAIL 
PROTECTED]"));
  | msg.setSentDate(new Date());
  | msg.setSubject("Teste");
  | msg.setText("Email test!");
  | Transport.send(msg);

So, I suppose that my mailserver accepts the address that I using, doesn't it? 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159988
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to