View Full Version : mail header

11 Jun 2011, 12:07 PM
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";


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