473,399 Members | 3,603 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

SMTP server question

Trying to use the mail function SmtpMail.Send(objMailMessage) on my local
machine at home (SMTP server is installed), but am getting back this message:

System.Runtime.InteropServices.COMException(0x8004 020f): The server rejected
one or more recipient addresses. The server response was: 550 5.7.1 unable to
relay for xx******@comcast.net

What do I nee to change in SMTP to be able to send out mail?

--
Chris Davoli

Nov 19 '05 #1
2 1218
PL

The "Relay" setting pherhaps ?

I wish people would actually read the error messages ;-)

PL.

"Chris Davoli" <Ch*********@discussions.microsoft.com> skrev i meddelandet
news:45**********************************@microsof t.com...
Trying to use the mail function SmtpMail.Send(objMailMessage) on my local
machine at home (SMTP server is installed), but am getting back this message:

System.Runtime.InteropServices.COMException(0x8004 020f): The server rejected
one or more recipient addresses. The server response was: 550 5.7.1 unable to
relay for xx******@comcast.net

What do I nee to change in SMTP to be able to send out mail?

--
Chris Davoli

Nov 19 '05 #2
Chris,

Under your IIS / SMTP properties, you need to allow relaying by the local
host.

Right click on your Default SMTP Virtual Server.

Properties -> Acess -> Relay Restrictions.

Grant access to the local host at address 127.0.0.1

Retain the "Only the list below" setting.

-Andrew
"Chris Davoli" <Ch*********@discussions.microsoft.com> wrote in message
news:45**********************************@microsof t.com...
Trying to use the mail function SmtpMail.Send(objMailMessage) on my local
machine at home (SMTP server is installed), but am getting back this
message:

System.Runtime.InteropServices.COMException(0x8004 020f): The server
rejected
one or more recipient addresses. The server response was: 550 5.7.1 unable
to
relay for xx******@comcast.net

What do I nee to change in SMTP to be able to send out mail?

--
Chris Davoli

Nov 19 '05 #3

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

Similar topics

1
by: ehendrikd | last post by:
hi all i have written a php site that uses the mail() on windows and i had to state in the php.ini file which smtp server to use. have now migrated this site to a redhat 9 server, but i still...
21
by: Nancy | last post by:
Hi, Guys, Is there any other way to use python or mod_python writing a web page? I mean, not use "form.py/email", no SMTP server. <form action="form.py/email" method="POST"> ... Thanks a lot. ...
2
by: Janna Deegan | last post by:
Hello all, First off, if there is a better place to post for an answer to this question, please feel free to point me there. I have some very strange behavior happening with my System.web.mail...
5
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...
3
by: RN | last post by:
I am tired of sending mail from the built-in SMTP service for so many reasons (errors are nondescriptive in the event log, it doesn't let me control which IP address it sends from, and it...
1
by: Nigel | last post by:
I know there are lots of threads covering my question but i am still unable to send e-mails from an asp.net page. Messages are not even going into the logs. Here is the code that i am using to...
34
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...
6
by: Dushyant | last post by:
Hi everyone, I am working on an application, where I need to mail some xml files as attachments. I tried to use System.Diagnostic.Process class but it does not provide any help for attaching a...
3
by: tamaker | last post by:
I have Road Runner cable internet access and Im working in a local development environment (writing .ASP) and have a site running on my network on a windows xp pro machine via IIS with CDONTS...
6
by: phpmagesh | last post by:
Hi, I am using mail function in my php page, As soon i update the details, i have to send mail to the customer with the updated details, problem is when i send mail it simple through waring msg...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...
0
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,...
0
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...

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.