System.Web.Mail FAQ

Complete FAQ Listing


4.3.11 550 x.x.x Unable to relay for xxxxx. Printer Friendly   Email This FAQ   Discuss

System.Web.Mail is working correctly, and is attempting to send the email. However, your SmtpMail.SmtpServer is not allowing relaying. Try one of the following suggestions:
  • Make sure the MailMessage.From is a valid email address that exists on the SmtpMail.SmtpServer.
  • Allow relaying for your MailMessage.From address (see your specific mail server documentation for this)
  • Allow relaying for your IP Address (see your specific mail server documentation for this).
  • Try authenticated first, before sending the email. Check out 3.8 How do I authenticate to send an email?
  • If you are using the IIS SMTP Service try allowing relaying for your IP address by:
    • Opening the IIS Admin MMC
    • Right-Clicking on the SMTP Virtual Server and selecting Properties
    • On the Access tab, click the Relay button
    • Grant 127.0.0.1 (or the IP address used by System.Web.Mail) to the Computers list.
    • Close all dialogs
    • Restarting the SMTP Service

 

Discuss This FAQ Item
Got a question? Another Suggestion? Want to post your solution? Discuss it below.
New Post
  • SMTP Virtual Server    [ Reply ]
  • "Server Error "    [ Reply ]
    • RE: "Server Error "    [ Reply ]
  • Error in smtp Setting    [ Reply ]
  • This worked for me...    [ Reply ]
  • Unable to relay message    [ Reply ]
    • RE: Unable to relay message    [ Reply ]
  • SMTP relay problem    [ Reply ]
  • Can't relay for WebApplication    [ Reply ]
  • IIS Admin MMC    [ Reply ]
  • Not able to use IIS Admin MMC    [ Reply ]
  • Thanks!    [ Reply ]
  • SMTP Format    [ Reply ]
  • SMTP-Unable to Relay    [ Reply ]
  • Relay restrictions    [ Reply ]
    • RE: Relay restrictions    [ Reply ]
  • "Server Error "    [ Reply ]
  • Mail can't deliverd on Email ID    [ Reply ]