note 92639 modified in function.mail by danbrown

From: Date: Mon, 03 Aug 2009 16:58:36 +0000
Subject: note 92639 modified in function.mail by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-159046@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: <?php mail($to, $subject, $message, $headers, "-femail.address@example.com"); ?> --was-- 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"); http://php.net/manual/en/function.mail.php

« previous php.notes (#159046) next »