Monday, March 26, 2012

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 xxxxxxxx@dotnet.itags.org.comcast.net

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

--
Chris DavoliThe "Relay" setting pherhaps ?

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

PL.

"Chris Davoli" <ChrisDavoli@.discussions.microsoft.com> skrev i meddelandet
news:45379012-8C84-40A8-9D02-FB10B303A73D@.microsoft.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 xxxxxxxx@.comcast.net
> What do I nee to change in SMTP to be able to send out mail?
> --
> Chris Davoli
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" <ChrisDavoli@.discussions.microsoft.com> wrote in message
news:45379012-8C84-40A8-9D02-FB10B303A73D@.microsoft.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 xxxxxxxx@.comcast.net
> What do I nee to change in SMTP to be able to send out mail?
> --
> Chris Davoli

0 comments:

Post a Comment