Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 01-07-2010, 09:24 AM   #1
LQ Newbie
Registered: Jul 2009
Posts: 6

Rep: Reputation: 0
sendmail is sending unnecessary multiple copies of emails from php form

I have a 64bit linux server with 5 virtual hosts on it. When someone fills out a contact form on one of the sites...I get 15-20 copies of the same email. At first I thought it was the kids clicking send multiple times because the first emails were coming from the children's ministry "Email The Cast" section. But then I started getting multiples from the adult sites too. All contact forms are set to come to me.

What's stranger is that my registration section for one of the sites uses the SAME php script (different file) to email me a notification that someone has registered but I only get 1 copy of that.

What could be going on?

What more info do you need to help me trouble shoot this?
Old 01-07-2010, 09:25 AM   #2
LQ Newbie
Registered: Jul 2009
Posts: 6

Original Poster
Rep: Reputation: 0
The email script....

PHP Code:

$theEmail $_REQUEST["theEmail"];
$theMessage $_REQUEST["theMessage"];

$to "";
$subject "Forward Conference Info Request";
$message "Name: " $theName;
$message .= "\nEmail: " $theEmail;
$message .= "\n\nMessage: " $theMessage;
$headers "From: $theEmail";
$headers .= "\nReply-To: $theEmail";

$sentOk mail($to$subject$message$headers);

"sentOk=" $sentOk;



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Qmail sending Multiple copies of Email fedoraman Linux - Server 1 04-15-2008 02:54 PM
problem of sending out emails through sendmail -- error code 421 kkeith Linux - Newbie 1 06-30-2006 05:59 AM
sending/recieving emails with sendmail xushi Slackware 2 02-25-2004 05:44 PM
Sendmail not sending emails, errorlog hydro Linux - Software 8 06-20-2003 06:48 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration