note 40104 added to function.mail
| From: | MattAKAJunkie at rn2 dot php dot net | Date: | Sun, 22 Feb 2004 03:49:41 +0000 |
| Subject: | note 40104 added to function.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-65506@lists.php.net to get a copy of this message | ||
Because I have known many instances of where the mail() function flutters and needs to be redone, I
have this handy-dandy little tool:
<?
function force_mail($to, $subject, $message, $additional_headers='',
$additional_params='') {
do {
$mailed = mail($to, $subject, $message, $additional_headers, $additional_params);
} while ($mailed !== true);
}
?>
----
Manual Page -- http://www.php.net/manual/en/function.mail.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+40104
Delete -- http://master.php.net/manage/user-notes.php?action=delete+40104&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+40104&report=yes
Search -- http://master.php.net/manage/user-notes.php