« Previous Next »

Not Answered Thread: phpmail (again)...permissions error

Last post 11-05-2009 1:43 AM by brashquido. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 11-02-2009, 9:33 AM

    • e1ny
    • Top 50 Contributor
    • Joined on 12-10-2007, 9:50 PM
    • Posts 188

    phpmail (again)...permissions error

    Hi All: I've read through a few threads about PHP mail not working on IIS6, and I'm running into the same problem.

     Server2003 Std sp2 / IIS6

    SMTP service configured on default IP, and is working for VBS/.NET webpages.

    PHP.ini has smtp "localhost", port "25" and "sendmail_from" set to a valid email address

    I explicitly added connections for "localhost", "127.0.0.1", and the default IP in the SMTP service properties

    I explicity added "relay" permissions for the same three.

    I still can't send mail (nothing generated, no SMTP log activity)...are there any permissions I'm missing, or a way to debug what's failing?

  • 11-02-2009, 2:26 PM In reply to

    Re: phpmail (again)...permissions error

    Anything in the queue or badmail folders?  Sounds like your code is never sending the email if nothing ever gets logged.

    Jeff

    Look for Wrox's new book Professional IIS 7 in your local bookstore, or order now at Amazon.com
  • 11-02-2009, 3:15 PM In reply to

    • e1ny
    • Top 50 Contributor
    • Joined on 12-10-2007, 9:50 PM
    • Posts 188

    Re: phpmail (again)...permissions error

    jeff@zina.com:

    Anything in the queue or badmail folders?  Sounds like your code is never sending the email if nothing ever gets logged.

    Jeff

    There's nothing there, nor in the SMTP log...I'm pretty sure it's an app-permission error, otherwise I'd see some "relaying not allowed" or something in the error log. But there's no errors in Event Viewer either.

  • 11-05-2009, 1:43 AM In reply to

    Re: phpmail (again)...permissions error

    Are you able to successfully connect and send an email via telnet? Have you enabled your PHP log to see if any related issues are being logged?

    ----------------
    Dominic Ryan
    Microsoft IIS MVP
    www.iis-aid.com
    My IIS articles
    My PHP articles
    My How-to guides
Page 1 of 1 (4 items)
Microsoft Communities