note 38910 added to ref.mail
| From: | JeremyinSeattle at rn2 dot php dot net | Date: | Sun, 11 Jan 2004 19:24:32 +0000 |
| Subject: | note 38910 added to ref.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-63325@lists.php.net to get a copy of this message | ||
xmail code supplied by Gabz, below, has a minor bug: the line which reads:
for ($a=0;$a<=count($attach_filepath);$a++) {
should read:
for ($a=0;$a<count($attach_filepath);$a++) {
Or you always receive a "nein" at the end of the message. It might also be good to replace
echo "NEIN"; with
return(false);
so that the function FAILS and returns that status if it doesn't find one of the files you are
trying to send.
----
Manual Page -- http://www.php.net/manual/en/ref.mail.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+38910
Delete -- http://master.php.net/manage/user-notes.php?action=delete+38910&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+38910&report=yes
Search -- http://master.php.net/manage/user-notes.php