note 20222 deleted from function.mail by derick
| From: | derick@php.net | Date: | Sat, 15 May 2004 13:24:58 +0000 |
| Subject: | note 20222 deleted from function.mail by derick | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-69643@lists.php.net to get a copy of this message | ||
Note Submitter: jchrin@naceweb.org
----
Another followup to the 5th parameter and Return-Path.
Instead of messing around with the headers, I just used the ini_set function:
ini_set(sendmail_from, "user@domain");
then after I called mail, I just used:
ini_restore(sendmail_from);
Worked for me.