snowieken
01-16-2007, 06:13 AM
Probably the most encountered error message ever when trying to send mail with ASP.NET... But up to now I haven't really found a solution yet. I need my web page to be able to send an e-mail to an external address. On my local server it works, the e-mail arrives on the specified address, but on my host, I get a "Relay Access Denied" error. I realize most mail providers have set this up as a security method against spam, but how come it works locally then?
There are so many applications out there that send you e-mail without problems, surely there must be a way to achieve this? Is there a way to "authenticate" my website to the mail provider of the recipient somehow, so that it accepts mail coming from it? In this case it's only one fixed address, but those other applications out there I am speaking of are able to send e-mail to all kinds of addresses... ("enter a valid e-mail address here and we will send you your code/pictures/whatever...").
There are so many applications out there that send you e-mail without problems, surely there must be a way to achieve this? Is there a way to "authenticate" my website to the mail provider of the recipient somehow, so that it accepts mail coming from it? In this case it's only one fixed address, but those other applications out there I am speaking of are able to send e-mail to all kinds of addresses... ("enter a valid e-mail address here and we will send you your code/pictures/whatever...").