Enable php main() on IIS6

Discussion in 'Site & Server Administration' started by unispace, Dec 6, 2006.

  1. #1
    Just wondering how to enable php mail() on IIS6 to use the SMTP of IIS6.

    I recently set the php.ini file settings to

    SMTP = localserver
    smtp_port = 25

    But still doesn't work. Port 25 is open. Anything else I'm missing...

    Thanks
     
    unispace, Dec 6, 2006 IP
  2. reteep

    reteep Active Member

    Messages:
    181
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    58
    #2
    Does your IIS SMTP Service accept anonymous connections? If you don't get it to work I'd suggest using http://www.mailenable.com/ instead of the IIS SMTP service, using that is way more uncomplicated.
     
    reteep, Dec 6, 2006 IP
  3. unispace

    unispace Peon

    Messages:
    85
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I need to make it work the SMTP server on IIS, many reasons why so it will be worth the headache. Thanks, will check that.
     
    unispace, Dec 7, 2006 IP