Sending mail using Localhost and .Net 2

I came across an old favourite today when trying to send email using the SMTP service on Local host. The error was

SMTP 550 5.7.1 Unable to relay for xxxxxx

What you need to do is change the security settings on the SMTP Service to allow your to relay from your local machine. This is simply done in IIS Admin as shown below

Author Greg Duffield

Greg has too many years experience in developement from VB for DOS all the way through to Windows Workflow and LINQ while covering pretty much every technology in between. A complete MS evangelist he is now Director of the only MS Gold Partner IT services company in Norfolk. Wehere they are producing Web 2 Applications for various sectors, and are currently entering the Haulage industry with their latest product.

Add Comment

Name
Comment
 

Your comment has been received and will be shown once it passes moderation.