PDA

View Full Version : mail header



bberry91
11 Jun 2011, 11:07 AM
i am trying to send the email address variable an e-mail, but it sends it to the email, as well as to the same e-mail address again. here is my code:

$headers .= 'To: '.$to.'' . "\r\n";

EDIT:

ok, it's because i had $to in there. how does it know that i want $to? from my mail function?