Results 1 to 7 of 7
Oct 10, 2011, 19:39 #1
- Join Date
- Aug 2010
- 1 Post(s)
- 0 Thread(s)
From appearing mysetriously in e-mail
I have a form that e-mail's me a user's comments.
The strange thing is, is that the "FROM" address is appearing in the e-mail even though I never include it in my mail() statement.
How is that possible?!
// Check for Data-Entry Errors.
// Form data clean.
// E-mail Inquiry to Administrator.
$to = 'email@example.com';
$subject = $trimmed['subject'];
$inquiry = $trimmed['inquiry'];
// $from = $trimmed['senderEmail'];
mail($to, $subject, $inquiry);
When I get the e-mail in my inbox I see...
Subject: Test From: firstname.lastname@example.org Date: Mon, Oct 10, 2011 9:31 pm To: email@example.com