hello, sorry for my english. I do not understand this error message:
Â
com.sun.mail.smtp.SMTPSendFailedException: 550 5.1.0 rqh41l01F0GUpSf01qh5vg authentication failed
Â
Â
Parameters:
{from=info@multigraphic.it, to=info@multigraphic.it, subject=Prova invio mail html formated, htmlBody=I'm testing the <em>Sending Email <strong>HTML-Formatted</strong></em> utility for <a href="http://360works.com/scriptmaster">ScriptMaster</a>. Works great!, smtpHost=smtp.iproduct.it}
Â
---Script---
Script:
import javax.mail.*;
import javax.mail.internet.*;
Â
Properties props = new Properties();
props.setProperty("mail.smtp.host", smtpHost);
Â
MimeMessage msg = new MimeMessage(Session.getInstance(props));
msg.setContent(htmlBody, "text/html");
msg.setSubject(subject);
msg.setFrom(new InternetAddress(from));
msg.setRecipient(Message.RecipientType.TO, new InternetAddress(to));
Transport.send(msg);
return true;
Â
Â
FM 10 Adv with 360 4