Re: newbie question: duplicate emails

From: Date: Mon, 23 Apr 2001 19:19:23 +0000
Subject: Re: newbie question: duplicate emails
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-2927@lists.php.net to get a copy of this message
Hi Nikhil, QA in PHP-QA stands for Quality Assurance, not Question & Answer. You will probably get an A to your Q [:)] in php-general. At 21:09 23.4. 2001, Nikhil Goyal wrote the following: -------------------------------------------------------------- >Hello people, > >I am having a peculiar problem with my mailing list and hope you can help me >out. I have a mySQL database with a table of email addresses for the mailing >lists. I have many lists, and my (PHP) code runs various queries on this >table to generate lists of email addresses to which the mail has to be sent. > >The email body is combined with this generated list, and then I use mail() >to send this message out to each recipient. I also add on a few headers such >as From:, Errors-To, Reply-To and Return-Path to the message. > >Now the problem is that every recipient of my mail is getting two copies of >the message. I am positive that it's not my code which is causing the >problem, the script runs once and terminates. I've also tried to send mail >by opening a socket connection to port 25 on the mail machine and sending >SMTP commands, but still the result is the same. And there is no SMTP error >generated. > >Can anybody help me out here? or perhaps suggest a more efficient way of >sending out mail to my users? I'm really in a spot here... > >- Nikhil > > > > > >-- >PHP Quality Assurance Mailing List <http://www.php.net/> >To unsubscribe, e-mail: php-qa-unsubscribe@lists.php.net >For additional commands, e-mail: php-qa-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net ------end of quote------ cynic@mail.cz ------------- And the eyes of them both were opened and they saw that their files were world readable and writable, so they chmoded 600 their files. - Book of Installation chapt 3 sec 7

« previous php.qa (#2927) next »