I'm using sml:SendEMails in a SWP. My SMTP server does not use authentication. It seems like sml:SendEMails calls some Java method behind the scenes that always attempts to authenticate even though I do not specify user name and password. I've tried setting the SMTP parameters via the TopBraid global configuration and also via sml:smtpServer. Is it possible to use sml:SendEMails without authentication? Error log below.
An unexpected error has occured.
On: Apr 20, 2017 4:36:28 PM
Reason:
javax.mail.MessagingException: Unable to obtain SASL authenticator
at org.apache.geronimo.javamail.transport.smtp.SMTPConnection.processAuthentication(SMTPConnection.java:1040)
at org.apache.geronimo.javamail.transport.smtp.SMTPConnection.protocolConnect(SMTPConnection.java:155)
at org.apache.geronimo.javamail.transport.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:165)
at javax.mail.Service.connect(Service.java:274)
at javax.mail.Service.connect(Service.java:91)
at javax.mail.Service.connect(Service.java:76)
at org.topbraid.email.sm.SendEMailsModule.doSendMessages(SendEMailsModule.java:160)
at org.topbraid.email.sm.SendEMailsModule$1.run(SendEMailsModule.java:89)
at java.lang.Thread.run(Thread.java:745)