dcsimg
javax.mail.SendFailedException
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Hope_Marquez
Posted On:   Monday, May 6, 2002 11:15 AM

I'm getting a javax.mail.SendFailedException: 550 Unable to relay for ;, what can the problem be? Thanks.

Re: javax.mail.SendFailedException

Posted By:   Anonymous  
Posted On:   Wednesday, May 22, 2002 06:34 AM

The problem is not in your code.


This is a problem on your SMTP Server. In the good old days many SMTP servers were free to use, but today you have to be authenticated before you are allowed to send anything.


Solution:
You have to add tour IP or Domain you are sending from in the relay list in the SMTP server. Otherwise you can't send anything to the SMTP server.

You can use patterns like:

192.168.0.*

if you want to cover a range of IPs.


::mikeEast

About | Sitemap | Contact