Not a gateway or local host. This is a relay error. Make sure you can relay through the SmtpMail.SmtpServer either by your IP address, by your MailMessage.From address, or if you need to authenticate, check out 3.8 How do I authenticate to send an email? If SmtpMail.SmtpServer is set to "127.0.0.1" or "localhost", and you are using the built in IIS SMTP Service, you can allow relaying for 127.0.0.1 by
Copyright © 2004 Contact: Dave Wanta. aspNetEmail aspNetPOP3 aspNetMime