Re: Emails sent out twice

From: Date: Mon, 29 Apr 2002 22:55:56 +0000
Subject: Re: Emails sent out twice
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-95288@lists.php.net to get a copy of this message
What php are you using? Jean-Louis Letortorec wrote:
Hello all: I have a script that looks like: ... $name="Project #1"; ... $title="NEW PROJECT: ".$name; $a=mail("webmaster@h.com, me@h.com",$title,$body, "From:webmaster@h.com"); ... When I execute this code (there is no loop anywhere), ALL the recipients receive 2 emails: - the first one with the subject "NEW PROJECT:" - the second with the subject "NEW PROJECT: Project #1" I cannot figure out why the first one is sent, and why with a partial subject. Any idea? Thanks. Jean-Louis


« previous php.general (#95288) next »