Sending email with Javamail-error
1 posts in topic
Flat View  Flat View

Posted By:   Beth_Novino
Posted On:   Monday, March 4, 2002 12:27 PM

When trying to send an email I get this error

When I run the program to send an email I get the following error:

javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
javax.mail.SendFailedException: 550 Unable to relay for my_address.com

Does anyone know what is wrong as I know the addresses are valid. I am using Microsoft Exchange Server. Would it be the server thats the problem? Any suggestions??

Re: Sending email with Javamail-error

Posted By:   julien_cool  
Posted On:   Tuesday, March 5, 2002 01:02 AM

see the faq : search mail relaying and Exchange.
In short, you try to send email outside the domain name of your mail server and your mail server don't allow non authenticated user to do this!! So you have to authenticate yourself first if you wish to send email outside the domain of your mail server !!!

see also the exchange entry of the faq there are informations about MS Exchange and javamail.
About | Sitemap | Contact