472,122 Members | 1,489 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,122 software developers and data experts.

SMTP Mail error

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?
Aug 18 '05 #1
4 19774
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?

Aug 18 '05 #2
Here is the reply I got from the system administrator at for that computer:

"I had already set this setting to relay everything and you still got the
message.

"I now set it to 127.0.0.1 and for the whole domain. I can easily use the
SMTP server with Outlook express, it forwards just fine.

"You only get the error message with ASp.net.

"It is not the SMTP setting."

The code works fine on a Windows XP Pro Machine (which is where I am
developing), so any other ideas where I should look on this? I did change
the web.config settings to match the server settings on the new machine.

Windows 2003 Server is not a product I have dealt with personally.

Thanks.

Bob
"Mikael Ă–stberg" wrote:
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?


Aug 20 '05 #3
Found the problem, so this is resolved. Thanks for your help.

"Mikael Ă–stberg" wrote:
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?


Aug 22 '05 #4
dp
I have the same problem, can you please share the solution with me ?

dimitris

"Gerhard" wrote:
Found the problem, so this is resolved. Thanks for your help.

"Mikael Ă–stberg" wrote:
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?


Sep 16 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Mike Obiku | last post: by
5 posts views Thread by R. Ian Lee | last post: by
1 post views Thread by michi | last post: by
5 posts views Thread by Charlie | last post: by
34 posts views Thread by antonyliu2002 | last post: by
7 posts views Thread by oopsbabies | last post: by
2 posts views Thread by =?Utf-8?B?QWRl?= | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.