dcsimg
I can't send mail to a different domain
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Amir_Kost
Posted On:   Thursday, July 5, 2001 09:18 AM

Hi. I'm trying to send mail from a java application using the Javamail API. When the "to" address is just a user name (without the "@domain") it works fine. But when I try to send to a different domain (when I use an address like president@whitehouse.gov) I get the following error : javax.mail.SendFailedException: Sending failed; nested exception is: javax.mail.SendFailedException: Invalid Addresses; nested exception is: javax.mail.SendFailedException: 550 5.7.1 Unable to relay for president@whitehouse.gov . Any help on overcoming this problem would be appreciated. Regards, Amir Kost, kosta@textology.com    More>>

Hi.

I'm trying to send mail from a java application using the Javamail API. When
the "to" address is just a user name (without the "@domain") it works fine.
But when I try to send to a different domain (when I use an address like
president@whitehouse.gov) I get the following error :

javax.mail.SendFailedException: Sending failed;
nested exception is:
javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
javax.mail.SendFailedException: 550 5.7.1 Unable to relay for president@whitehouse.gov .

Any help on overcoming this problem would be appreciated.


Regards,


Amir Kost,
kosta@textology.com

   <<Less

Re: I can't send mail to a different domain

Posted By:   John_Zukowski  
Posted On:   Saturday, July 7, 2001 07:32 AM

Relaying is a configuration of your mail server. You probably have to validate yourself with the SMTP server to prove that you are a valid user to it. Check the FAQ.
About | Sitemap | Contact