You have to allow relaying in your SMTP server.
Check security settings in IIS.
This is dine by right-clicking Default SMTP Virtual Server and choosing
properties.
Then go to the Access tab. Click on the Relay button at the bottom of the
dialog.
Add the IPs you want to grant access. By default this is turned of
completely and since your web server is on the same machine, you could add
127.0.0.1 as the only entry in the list.
You can also open it up completely by checking the radio button All except
the list below and leave the list blank. However, if it is a public server
that is not a recommended setting.
That should solve that issue.
Mikael Östberg
"Gerhard" <Ge*****@discussions.microsoft.com> wrote in message
news:3D**********************************@microsof t.com...
Hi,
I some asp.net beta 2 code that works fine on an XP Pro machine, but on a
Windows 2003 Server gets the following error:
System.Net.Mail.SmtpFailedRecipientException {"Mailbox unavailable. The
server response was: 5.7.1 <ve****@quixnet.net>... Relaying denied. IP
name possibly forged [208.179.189.145]"}
System.Net.Mail.SmtpFailedRecipientException
Any idea what would cause that?