Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

  • Newbies
Posted

Is it possible to do this? I found a site (http://java.sun.com/products/javamail/FAQ.html#smtpauth) that says that this can be done by changing Transport.send(msg); into

String protocol = "smtp";

props.put("mail." + protocol + ".auth", "true");

...

Transport t = session.getTransport(protocol);

try {

t.connect(username, password);

t.sendMessage(msg, msg.getAllRecipients());

} finally {

t.close();

}

but when I try this I just get an error message about an unexpected token.

Crispin

Posted

It's certainly possible to do (our email plugin does this and a lot more, http://www.360works.com/emailplugin/)

Can you enter your script in the scriptmaster example file, click the 'copy to clipboard' button and paste the result in here?

This topic is 6126 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.