[PHP] Sending mail() using 5.0.0

2004-07-30 Thread Michael Purdy
Folks

I am running php 5.0.0 on Windows 2000

When using php-cgi.exe or php.exe for that matter I get the following error when using 
MAIL()

Warning: mail() [function.mail]: sendmail_from not set in php.ini or custom From: 
header missing in e:\http\cgi\mail.php on line 4

When using php-win.exe or an earlier version of php I have no problems.  Has anyone 
else ran into this problem?

Mike


Re: [PHP] Sending mail() using 5.0.0

2004-07-30 Thread Jason Wong
On Friday 30 July 2004 19:00, Michael Purdy wrote:

 I am running php 5.0.0 on Windows 2000

 When using php-cgi.exe or php.exe for that matter I get the following error
 when using MAIL()

 Warning: mail() [function.mail]: sendmail_from not set in php.ini or
 custom From: header missing in e:\http\cgi\mail.php on line 4

 When using php-win.exe or an earlier version of php I have no problems. 
 Has anyone else ran into this problem?

Right, so what's different between this and the earlier version? The error 
message suggests you look at php.ini.

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
Remembering is for those who have forgotten.
-- Chinese proverb
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php