Newbies MoleSoft Posted February 25, 2008 Newbies Posted February 25, 2008 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
shmert Posted February 26, 2008 Posted February 26, 2008 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?
Recommended Posts
This topic is 6456 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 accountSign in
Already have an account? Sign in here.
Sign In Now