« Previous Next »

Thread: IIS SMTP and Server 2008

Last post 05-13-2009 9:18 AM by warhorse25. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 05-12-2009, 3:42 PM

    IIS SMTP and Server 2008

    For some reason the iis smtp server and php are not communicating properly. I have verified that the smtp is working by telneting to it and doing the mail commands and I'm able to receive an email. In addition, I followed this link http://support.microsoft.com/?id=297700 and was able to receive an email. But whenever I try to send email from PHP nothing happens. What makes this even crazier is there are no smtp logs being written. The log files should be located at c:\windows\system32\logfiles\smtpsvc1 but the smtpsvc1 folder does not exist and there are no email messages in the drop, pickup, queue, or badmail folders under mailroot.

    I'm not really sure why no logs exist for this. I gave the Network Service user permission to that logfiles folder but to no avail. So I guess the gist of my question is how can I make PHP and iis smtp send email.

    I have the smtp configured to send email to a remote MailEnable server not exchange. Any ideas?

     

  • 05-12-2009, 5:27 PM In reply to

    • rjmiller
    • Not Ranked
    • Joined on 09-25-2007, 7:21 PM
    • Posts 2

    Re: IIS SMTP and Server 2008

    How is the PHP script trying to send mail?  I've never been able to get the builtin PHP mail() function to work properly with Windows.  I've always had to find a third party library to make it send properly through SMTP.
  • 05-13-2009, 9:18 AM In reply to

    Re: IIS SMTP and Server 2008

     Well I'm just using the mail function and adding some headers, to, from, subject and body.  That's it.  What kind of 3rd party library did you use?  Pear?  I'm thinking it has to be some simple configuration b/c like I said earlier the smtp sends emails perfectly fine. 

Page 1 of 1 (3 items)
Microsoft Communities