Jump to content

Send Email (HTML-Formatted)


This topic is 3981 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

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:

{[email protected], [email protected], 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

post-103795-0-29791800-1371998726_thumb.

Link to comment
Share on other sites

  • Newbies

filemaker old file (2012) I had used variables with user and password. Now the plugin does not work. for this reason I have made ​​some tests with the new SCRIPTMASTER, but here I can not find fields for username and password.

Link to comment
Share on other sites

This topic is 3981 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.