>> The sendmail_from variable in the php.ini on my server is set to
>> [EMAIL PROTECTED] The same variable on my isp's ini file is set to
>> 'no value'. Would this stop my emails from being sent and if so can
>> I change this value from within my script or would it have to be
>> directly amended in the php.ini file?
I don't think this would stop emails from being sent.
There are two ways to change the From header:
- Use the function ini_set("sendmail_from", "<email address>" );
- Use "From: <email address>" as the fourth argument to your mail call
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php