Re: php.ini & ini_set
| From: | M.Sokolewicz | Date: | Wed, 01 Nov 2006 06:55:22 +0000 |
| Subject: | Re: php.ini & ini_set | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-243991@lists.php.net to get a copy of this message | ||
Why can't you just add a
From: Registrar <registrar@mycompany.ca>
header? =/
- tul
Chris wrote:
Beauford wrote:That doesn't work. Here is what I have. mail($email,$subject,$body,$from); Which is (senders address, the subject, the body of the message, and the from address) The from address is taken from this, and I added the -f in front of it. define("regaddress", "-fregistrar@totalcomputercare.ca"); It still says it comes from: Nobody [nobody@host.hosting.com]; on behalf of; Registrar [-fregistrar@mycompany.ca]That's something different entirely to what your original email said. Your mail server is adding that, it's not a php setting you can change. If you look at the mail source, it will have an extra header in there (can't remember what it is but check against this email - something like "Sender" or "Sender-Address").