Skip to main content
Known Participant
October 5, 2007
Question

Having problems sending CFMAIL on Windows 2003

  • October 5, 2007
  • 1 reply
  • 873 views
Hello, all. I'm running into what I can only describe as an authentication issue when a CFMAIL tag tries to send a mail request to an Exchange server running Windows 2003 on a different machine.

Here are the specifics:
- The CF Admin server recognizes and validates the specified email server without any problem.
- When an email request is sent to the Exchange server, it fails and I get an "Authentication Failed" error in the email log of the ColdFusion server.
- IIS does not appear to even be recognizing the fact that a mail request is coming in. There are no failed logins in the exception log by the mailer user that CF is employing to send the email request.
- This all worked perfectly in Windows 2000 before we upgraded.

I have attached the specific error we're seeing from the CF "exception.log" file.

Any assistance appreciated. Let me know if additional information is required. I'm a CF developer and not a network guy. There will likely be other things I need to track down to fix this problem.
    This topic has been closed for replies.

    1 reply

    Inspiring
    October 5, 2007
    Try this:

    From the Windows 2000/2003 server that has SMTP installed, login as the administrator.

    Select Start | Settings | Control Panel | Administrator Tools | Internet

    Highlight the Default SMTP Virtual Server, right click and select properties.

    Select the "Access" tab, and then the "Relay" button.

    Highlight the option for "only the list below" and click the "Add button"

    Select Single computer and add the IP address of the ColdFusion server.

    Also select the option for "Allow all computers which successfully authenticate to relay, regardless of the list above"

    --
    Ken Ford
    Adobe Community Expert - Dreamweaver
    Fordwebs, LLC
    http://www.fordwebs.com


    "j.stevenson" <webforumsuser@macromedia.com> wrote in message news:fe5tth$pm5$1@forums.macromedia.com...
    > Hello, all. I'm running into what I can only describe as an authentication
    > issue when a CFMAIL tag tries to send a mail request to an Exchange server
    > running Windows 2003 on a different machine.
    >
    > Here are the specifics:
    > - The CF Admin server recognizes and validates the specified email server
    > without any problem.
    > - When an email request is sent to the Exchange server, it fails and I get an
    > "Authentication Failed" error in the email log of the ColdFusion server.
    > - IIS does not appear to even be recognizing the fact that a mail request is
    > coming in. There are no failed logins in the exception log by the mailer user
    > that CF is employing to send the email request.
    > - This all worked perfectly in Windows 2000 before we upgraded.
    >
    > I have attached the specific error we're seeing from the CF "exception.log"
    > file.
    >
    > Any assistance appreciated. Let me know if additional information is
    > required. I'm a CF developer and not a network guy. There will likely be
    > other things I need to track down to fix this problem.
    >
    >
    > "Error","scheduler-1","10/05/07","12:38:08",,"Authentication Failed"
    > javax.mail.AuthenticationFailedException: Authentication Failed
    > at coldfusion.mail.MailSpooler.getConnection(MailSpooler.java:914)
    > at coldfusion.mail.MailSpooler.deliver(MailSpooler.java:772)
    > at coldfusion.mail.MailSpooler.sendMail(MailSpooler.java:703)
    > at coldfusion.mail.MailSpooler.deliverFast(MailSpooler.java:1027)
    > at coldfusion.mail.MailSpooler.run(MailSpooler.java:937)
    > at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:201)
    > at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:70)
    >