java.io.IOException on sending email
712118Oct 15 2009 — edited Oct 16 2009Hi, I'm getting this exception when I try to send an email by BPM Studio and I cant figured it out why.
I created the Outgoing Mail Service External Resource, fill all the fields, user, password, server name, port number, just like works on my Outlook. Jus for test.
The sending email activity code is (using Java):
email.from = "my_real_email@email.com.br";
email.recipient = "my_real_email@email.com.br";
email.contentType = "Content-type: text/plain; charset=UTF-8";
email.subject = "Anything";
email.message = "Email sent.";
MailSender sender;
sender = MailSender(email);
try
{
sender.send(implname : "ERMail");
}
catch (Exception ex)
{
logMessage("Email sent error: " + ex.message + " " + ex.cause);
}
and in log viewer there is only the message
Email sent error: java.io.IOException
that's alll
any ideias? thks