Skip to main content
September 12, 2006
Question

Mail using Localhost

  • September 12, 2006
  • 1 reply
  • 560 views
I have a smtp installed on a 2003 Windows server. However Coldfusion will not send email out using the localhost.

The error I'm getting in the CF mail log isL javax.mail.SendFailedException: 550 5.7.1 Unable to relay for xxxx@emailadress.com ; nested exception is: class javax.mail.SendFailedException: 550 5.7.1 Unable to relay for xxxxx@emailaddress.com "

obviously I changed the email addresses.

If I create an email and put it in the mailroot's pickup folder it does send the mail out so I know the smtp service is working.

Please help, I'm very frustrated.
    This topic has been closed for replies.

    1 reply

    September 13, 2006
    Hello Danny,
    By default IIS turns off relaying. That is so someone does not spam the world using your email server. You need to enable relaying by openning the IIS console, right mouse click SMTP, select properties. Then select the access tab and relay button. Add access for localhost in the dialog that opens.