# PHP e-mail form From address is server

**URL:** <https://forum.kirupa.com/t/php-e-mail-form-from-address-is-server/276314>\
**Category:** programming\
**Created:** [November 25, 2008, 6:47pm UTC](https://forum.kirupa.com/t/php-e-mail-form-from-address-is-server/276314 "2008-11-25T18:47:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kpetree10](https://avatars.discourse-cdn.com/v4/letter/k/71e660/32.png) [@kpetree10](https://forum.kirupa.com/u/kpetree10)\
**Post date:** [November 25, 2008, 6:47pm UTC](https://forum.kirupa.com/t/php-e-mail-form-from-address-is-server/276314/1 "2008-11-25T18:47:07Z")

</div>

Hi Guys, This is my first post here so hello to everyone,  
I’m trying to setup a PHP contact form, I am currently testing it on my Mac because I don’t want to go through installing PHP on our domain controller/web server and not have it work. Whenever I send a message the From address is always my Mac’s name and shows up as [\_www@Kyles-MacBook-Pro.loca](mailto:_www@Kyles-MacBook-Pro.loca)l.

Can anyone tell me how to make my PHP script fill in that space with the e-mail field from the HTML form?

Thank You
