I've looked around a bit and gotten nothing but flack from my provider.
The sending works fine on my development server.  But on production I
can't get it to send, I get this error:

javax.mail.SendFailedException: Invalid Addresses;
  nested exception is:
        class com.sun.mail.smtp.SMTPAddressFailedException: 501 5.7.1 This
system is not configured to relay mail from  to  for 63.247.81.241

        at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1130)
        at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:525)
        at javax.mail.Transport.send0(Transport.java:151)
        at javax.mail.Transport.send(Transport.java:80)
        at org.apache.commons.mail.Email.sendMimeMessage(Email.java:863)
        at org.apache.commons.mail.Email.send(Email.java:898)
        at org.apache.jsp.mtest_jsp._jspService(mtest_jsp.java:72)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
......

My provider says I need to use authentication, which makes little sense
to me, if the world can send me an email then why can't the server!??! 
Anyway, when I add the setAuthentication with the correct username and
password it doesn't work.  I can get it to work if I use Java Mail
directly using the same username and pass.  What is the problem? I am
using Email 1.0.

Thanks,

Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to