Re: mail() is duplicating
| From: | Manuel Lemos | Date: | Sat, 14 Mar 2009 01:54:19 +0000 |
| Subject: | Re: mail() is duplicating | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-290027@lists.php.net to get a copy of this message | ||
Hello,
on 03/13/2009 05:37 PM Rick Pasotto said the following:
> I have several forms on my site that use the same sequence of events:
> The first script displays and validates the form data, the second
> reformats and asks for confirmation or editing, and the third script
> sends the data in an email to the relevent people.
>
> Two of these forms work exactly as they're supposed to but the third
> sends duplicate emails to everyone.
>
> I have looked and looked and I've run diff and I can see no reason why
> this should be happening.
>
> Could someone suggest what I might have wrong?
Usually this happens when you have a To: header in the headers parameters.
--
Regards,
Manuel Lemos
Find and post PHP jobs
http://www.phpclasses.org/jobs/
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/