Click to See Complete Forum and Search --> : Sending Mails with MS Exchange in PHP


Anon
06-20-2002, 05:50 PM
Can anyone tell me how I have to configure my Server (Win 2000, PHP, IIS) to send Emails generated in a form by using an Exchange-Server? The Server has the name server2. I tried to edit the php.ini and entered here:

[mail function]
; For Win32 only.
SMTP = server2

Please help me.

Wurstbrot

Anon
06-21-2002, 11:27 AM
Code examples from wrox.com for - professional PHP programming book - chapter 17 may be useful. This should enable you use a relaying smtp server (exchange). As ever with wrox the code never seems to be correct first-time, so you may need to make a few function name changes to get it to work (as I did).

dC