Results 1 to 4 of 4
Thread: mail() sends email twice
Jun 1, 2009, 19:05 #1
- Join Date
- Jan 2009
- 0 Post(s)
- 0 Thread(s)
mail() sends email twice
I've created a contact form and a script which uses the mail() function to email the data entered.
My script appears to be functioning as I want, but two emails arrive at the destination inbox. The first email is from the default 'nobody' address of the Apache server, and the second email arrives with the correct email headers which I have specified.
Can anyone help me find why this is happening and how to stop it?