Using JavaMail now (tedious download process, can't just wget )

and i get a more descriptive exception:


javax.servlet.ServletException: Sending failed;
  nested exception is:
        javax.mail.MessagingException: 501 syntactically invalid HELO
argument(s)


So here is a good example for all of us why sun.net.smtp.SmtpClient should
be avoided.
it threw an UnknownHostException when the problem is completely different.

This is going to exim, not sendmail.




> 
>> From: "Martin van den Bemt" <[EMAIL PROTECTED]>

>> Use JavaMail instead.. The SmtpClient (at least if that is the one in
>> com.sun or sun.) is as far as I know not even supported..
>> Never had any problems with that, unless the jvm couldn't find a host in the
>> first place, it tends to never find it again.
>> 
>> Mvgr,
>> Martin
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 
> 
> 


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to