Thursday, August 28, 2003 05:53 AM
Hi, I am having trouble authenticating to SMTP-servers. I believe the server is running Simple Authentication and Security Layer(SASL), and when I try to authenticate using the "standard" javamail mechanisms (setting mail.smtp.auth to true and supplying username and password in the sendMessage method) I recieve a
"SendFailedException: email@example.com 437 relaying prohibited. You should authenticate first"
Is anyone awere of the problem, possible concerning the different authentication mechanisms SMTP servers may use. In this case SASL.
Thankfull for any ideas! /Johan