Reply to Re: [PHP] bizzare duplicate mail() call

Your name:

Reply:


Posted by Richard Davey on 01/07/05 03:05

Hello Jed,

Thursday, January 6, 2005, 9:45:38 PM, you wrote:

JRB> What is so strange is that it only occurs for these odd periods of time. For
JRB> example, yesterday from 4pm to this morning at 7am, 2 copies would be sent.
JRB> Last week for several days, 5 copies would be sent.

JRB> The emails are frequent enough (every couple of minutes) that it is very
JRB> easy to track, but I don't have a clue as to what would be the cause.

Rule out if this is a mail server glitch or a PHP script one - one
simple way would be to locate the scripts that send out the mail and
perhaps get them to write an entry to a text file with something
simple like a timestamp and a message of "mail sent". Get the script
to append the data to the log rather than over-write.

Then just view the log file after this situation has happened again.
If there are 5 instances of a mail being sent then the error is with
the PHP script logic, or the fact the script is being called 5 times
somehow. If not, the error is with the mail server.

Best regards,

Richard Davey
--
http://www.launchcode.co.uk - PHP Development Services
"I am not young enough to know everything." - Oscar Wilde

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация