LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-07-2010, 08:24 AM   #1
swg1cor14
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, 08:25 AM   #2
swg1cor14
LQ Newbie
 
Registered: Jul 2009
Posts: 6

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

PHP Code:
<?PHP

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

$to "support@forwardconference.org";
$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);

echo 
"sentOk=" $sentOk;

?>
 
  


Reply


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 01:54 PM
problem of sending out emails through sendmail -- error code 421 kkeith Linux - Newbie 1 06-30-2006 04:59 AM
sending/recieving emails with sendmail xushi Slackware 2 02-25-2004 04:44 PM
Sendmail not sending emails, errorlog hydro Linux - Software 8 06-20-2003 05:48 PM


All times are GMT -5. The time now is 01:21 PM.

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