note 78474 deleted from ref.mail by danbrown
| From: | danbrown@php.net | Date: | Sun, 17 May 2009 20:05:04 +0000 |
| Subject: | note 78474 deleted from ref.mail by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-155325@lists.php.net to get a copy of this message | ||
Note Submitter: perryv at gmail dot com
----
The ini_set('sendmail_from', $your_from_addr) solution only works when the PHP mailer
script is running under Windows. To do a similar solution for *nix OS's, pass the string
"-r $your_from_addr" to mail() as the fifth parameter.