mail() function problem

From: Date: Sat, 31 Aug 2002 08:32:49 +0000
Subject: mail() function problem
Groups: php.general 
Request: Send a blank email to php-general+get-114753@lists.php.net to get a copy of this message
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

« previous php.general (#114753) next »