Click to See Complete Forum and Search --> : IIs and PHP mail function produces error


Anon
07-04-2001, 02:28 PM
Hi guyz and galz, I have just set up an IIs server on Windows 2000, and am trying to use the mail funtion in PHP4

mail ($myemail,'Test Mesage',"test message from mail server localhost",'From: paul@wetdesign.ca'); and am getting an error:


Server error line 3

Does anyone know the special routine of configuring IIs to handle mail? or is there a setting in PHP.ini I need to set?

Any help would be greatly appreciated. Thanks in advance

Paul :)

Anon
07-04-2001, 07:52 PM
Yes you need to make sure php.ini is set up correctly on a win32 box for your outgoing mail server. This page will help you:

http://php3.org/manual/en/function.mail.php

Anon
09-20-2001, 12:37 AM
thanks moonie!