note 55868 deleted from ref.mail by victor
| From: | victor@php.net | Date: | Tue, 16 Aug 2005 08:05:07 +0000 |
| Subject: | note 55868 deleted from ref.mail by victor | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-93709@lists.php.net to get a copy of this message | ||
Note Submitter: Kallesommer at ofir dot dk
Reason: bad code
----
It looks like php don't like array variables in the mail paraments...
<?
/* Will allways work */
$email = $array['email'];
mail($email, "Hallo", "sup m8");
/* This will not allways work */
mail($array['email'], "Hallo", "sup m8") || die("Error by
emailing ....");
?>