note 20222 added to function.mail
| From: | jchrin at naceweb dot org | Date: | Tue, 26 Mar 2002 20:42:31 +0000 |
| Subject: | note 20222 added to function.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-28249@lists.php.net to get a copy of this message | ||
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.
--
http://www.php.net/manual/en/function.mail.php
http://master.php.net/manage/user-notes.php?action=edit+20222
http://master.php.net/manage/user-notes.php?action=delete+20222
http://master.php.net/manage/user-notes.php?action=reject+20222