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.
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:
if you want to cover a range of IPs.