note 92639 added to function.mail
| From: | Edward at osu1 dot php dot net | Date: | Sat, 01 Aug 2009 21:08:56 +0000 |
| Subject: | note 92639 added to function.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-158990@lists.php.net to get a copy of this message | ||
Currently my hosting service is on Godaddy. When attempting to use the mail function without the
fifth parameter containing "-f", my message headers would not work.
Whenever your message headers do not work, simply try using the fifth parameter:
mail($to, $subject, $message, $headers, "-fwherever@whoever.com");
----
Server IP: 208.69.120.35
Probable Submitter: 67.163.248.254
----
Manual Page -- http://www.php.net/manual/en/function.mail.php
Edit -- https://master.php.net/note/edit/92639
Del: integrated -- https://master.php.net/note/delete/92639/integrated
Del: useless -- https://master.php.net/note/delete/92639/useless
Del: bad code -- https://master.php.net/note/delete/92639/bad+code
Del: spam -- https://master.php.net/note/delete/92639/spam
Del: non-english -- https://master.php.net/note/delete/92639/non-english
Del: in docs -- https://master.php.net/note/delete/92639/in+docs
Del: other reasons-- https://master.php.net/note/delete/92639
Reject -- https://master.php.net/note/reject/92639
Search -- https://master.php.net/manage/user-notes.php