February 25, 200817 yr Newbies 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
February 26, 200817 yr 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?
Create an account or sign in to comment