# Contact form with mailer.php "From" header

**URL:** <https://forum.kirupa.com/t/contact-form-with-mailer-php-from-header/199747>\
**Category:** Uncategorized\
**Created:** [September 5, 2006, 5:47pm UTC](https://forum.kirupa.com/t/contact-form-with-mailer-php-from-header/199747 "2006-09-05T17:47:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SLaBorde](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@SLaBorde](https://forum.kirupa.com/u/SLaBorde)\
**Post date:** [September 5, 2006, 5:47pm UTC](https://forum.kirupa.com/t/contact-form-with-mailer-php-from-header/199747/1 "2006-09-05T17:47:25Z")

</div>

Hi,  
I’m an extreme noob at php but used the mailer.php script from this site to add a contact form to my web site. It works fine, except that when form is submitted, in every email I receive, the “From” header reads “[anonymous@neptune.catalog.com](mailto:anonymous@neptune.catalog.com)”. (Web host is WebHero.) The sender’s email address does appear in the body of the email, but is there a way to make the sender’s email address appear in the “From” header of the email? Or is it supposed to work this way?

Sorry for such a dumb question!

Susan
