473,661 Members | 2,431 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 .SmtpFailedReci pientException {"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 .SmtpFailedReci pientException

Any idea what would cause that?
Aug 18 '05 #1
4 19869
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*****@discus sions.microsoft .com> wrote in message
news:3D******** *************** ***********@mic rosoft.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 .SmtpFailedReci pientException {"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 .SmtpFailedReci pientException

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*****@discus sions.microsoft .com> wrote in message
news:3D******** *************** ***********@mic rosoft.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 .SmtpFailedReci pientException {"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 .SmtpFailedReci pientException

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*****@discus sions.microsoft .com> wrote in message
news:3D******** *************** ***********@mic rosoft.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 .SmtpFailedReci pientException {"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 .SmtpFailedReci pientException

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*****@discus sions.microsoft .com> wrote in message
news:3D******** *************** ***********@mic rosoft.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 .SmtpFailedReci pientException {"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 .SmtpFailedReci pientException

Any idea what would cause that?


Sep 16 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4690
by: Mike Obiku | last post by:
First of all, I'm new to PHP. For my website I have some PHP scripts to run a photo database. New users have to register them selfs. After registring the new user is getting an e-mail maid by an php script. But if the user clicks on the button to sent his info, so the PHP can sent him an e-mail, it always results in this error Warning: mail(): SMTP server response: 451 Request action aborted; local processing error in {the file en line...
2
7935
by: Mark Carter | last post by:
I'm trying to create a mail server in Twisted. I either get SMTPSenderRefused or SMTPException: SMTP AUTH extension not supported by server. What do I need to do to get it to work?
5
16691
by: R. Ian Lee | last post by:
I'm using the System.Web.Mail.SmtpMail object (.NET 1.1) to send email from an ASP.NET application. Everything works fine when I run it from Windows 2000 Server, but not from WinXP Pro. Is it not possible to send mail using the SMTP service or XP? Is there a different class that I should be using? I don't really need to send email from XP, but since I'm doing my development from XP it's really slows down debugging to have to comment...
1
6285
by: michi | last post by:
Hi there.... Got here a tricky thing with my SMTP. First I show you what works on my machine.. **This Works** SmtpMail.SmtpServer = "mail.gmx.net" <-gmx is my mail provider SmtpMail.Send"mymail@gmx.net", "somebody@xxx.ch", "sub",
5
2495
by: Charlie | last post by:
Hi: I'm working on an e-commerce site. Using the SMTP class, my site sends out confirmation messages. It works most of the time, but sometimes raises an error. I need a way of making sure it goes out every time. I thought about wrapping a try-catch handler in loop that keeps on retrying if delivery fails. Is this a good idea? If not, what is the best way of handling this kind of thing? Thanks,
34
18222
by: antonyliu2002 | last post by:
I've set up the virtual smtp server on my IIS 5.1 like so: 1. Assign IP address to "All Unassigned", and listen to port 25. 2. Access Connection granted to "127.0.0.1". 3. Relay only allow "127.0.0.1". 4. Authentication: "Anonymous access" only. 5. Outbound connection listen to TCP 25. Besides,
5
23753
by: Chris | last post by:
I am trying to send email in C#. I wrote 2 pieces of code: 1. MailMessage mail = new MailMessage(); mail.From = "from_address"; mail.To = "to_address"; mail.Subject = "subject"; mail.BodyFormat = MailFormat.Text; mail.Body = "body"; SmtpMail.SmtpServer = "smtp.server"; mail.Fields.Clear();
7
7730
by: oopsbabies | last post by:
Hello everyone, I am using Apache 1.3.33 as the web server and PHP version 4.3.10. My machine is using Windows XP 2002 professional edition which comes with a Windows firewall. I am using McAfee free edition for anti-virus. I use an ISP provider from my country and according to them I do not need to perform authentication while sending mails through their SMTP address. Thus I am using external SMTP server. I don't have IIS installed...
2
12168
by: =?Utf-8?B?QWRl?= | last post by:
HI All, I am encountering the following error when I try to send an email through a SMTP server. I believe the problem lies with the authentication part when the network crednetials are used, error is thrown at the .send point. Error is: The following error occured Sending an email: System.ApplicationException: An error occurred sending an email To helen@HerMail.com From ade@MyMail.com Cc Subject A test with Finlistener #1. The body...
7
22865
by: Rob Dob | last post by:
The following code is giving me a timeout problem., no matter what I do I can't send a piece of mail using .net2.0 System.Net.Mail.SmtpClient via port 465 and using ssl, if however I try using outlook or outlook express it works fine.. System.Net.Mail.MailMessage msgMail = new System.Net.Mail.MailMessage("myemail@mydomain.com", "testemail@mydomain.com", "subject", "message body");
0
8432
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8343
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8758
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8545
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8633
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7364
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6185
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4179
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1986
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.