Friday, September 27, 2002 09:18 AM
Don't post the same question twice! (http://www.jguru.com/forums/view.jsp?EID=1004664)
In that other thread you mentioned that you get a "relaying denied" error from your SMTP server, but that you could send to the same external addresses, through the same SMTP server, from an ASP application, just not from a JavaMail application. How come you didn't mention it when you re-posted here in a different thread?
Also in that other thread I told you that your SMTP server must not like the return address you are giving through your JavaMail client, that it must be coming out different from the return address given by your ASP application, if they really are both sending through the same SMTP server, to the same external destination, and one is OK but the other is rejected, by the SMTP server.
Unless there is more going wrong, and maybe your ASP application is not actually sending through the same SMTP server that you are trying from the JavaMail application?