RE: [PHP] mail() function problem
| From: | Akhmad D. Sembiring | Date: | Tue, 03 Sep 2002 03:19:32 +0000 |
| Subject: | RE: [PHP] mail() function problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-114975@lists.php.net to get a copy of this message | ||
Dear Arul & friends,
thanks for your kind helps,
but the problem still exists.
the actual problem is that the 2nd mail() function
does not ever send the mail, no matter what the destination
and the additional header is.
is there a way to debug this problem?
thanks
Daniel
# -----Original Message-----
# From: Arul Venkatesh Kandaswamy [mailto:arulvenki@gmx.net]
# Sent: Saturday, August 31, 2002 17:07
# To: Akhmad D. Sembiring
# Subject: Re: [PHP] mail() function problem
#
#
# Hello
#
# $from = "MIME-Version: 1.0\r\n";
# $from .= "Content-type: text/html; charset=iso-8859-1\r\n";
# $from .= "From: <webmaster@xyz.xom>\r\n";
# $subject="Registration Confirmation";
# $messge="test mail";
# mail($mailid,$subject,$message,$from);
#
# Thanks and Regards
# Arul venki
#
# ----- Original Message -----
# From: "Akhmad D. Sembiring" <daniel@vitraining.com>
# To: <php-general@lists.php.net>
# Sent: Saturday, August 31, 2002 2:02 PM
# Subject: [PHP] mail() function problem
#
#
# > Dear All,
# >
# > I have a little problem with mail() function,
# >
# > PHP Code:
# >
# > --------------------------------------
# > mail($email, "Membership ok", $themsg,
# > "From: webmaster@xyz.xom\r\n");
# >
# > mail("grp-subbscribe@yahoogroups.com",
# > "", "", "From: $email\r\n");
# > --------------------------------------
# >
# > Why does the second mail() function did not ever send the email to
# > yahoogroups?
# >
# > I wonder, can the mail() function be put in a loop structure (that
# traverse
# > an array of emails) and send all emails successfully?
# >
# > Thanks for your advice,
# >
# > Daniel
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/02