PDA

View Full Version : PHP Tutorial question



kaken
November 30th, 2006, 10:26 AM
Hi! I did the PHP tutorial ( http://www.kirupa.com/web/php_contact_form4.htm ), and it works. But I have a question on why when I send an email from it, the sender comes out as "jason@psa01.ex...com"? can I change the name? Thanks!

Seb Hughes
November 30th, 2006, 10:43 AM
Need top set the headers so



$headers = 'From: example@example.com' . "\r\n" .
'Reply-To: example@example.com' . "\r\n" .
'X-Mailer: PHP/' . phpversion();

That *should* work. Sorry about before.

kaken
November 30th, 2006, 11:12 AM
it's working now! Thanks!:pleased: