st0rmer Posted October 31, 2007 Share Posted October 31, 2007 I have a form whcich sends me an email on submit. However, it says its from 'Nobdy' in my Gmail account. How do i change this to something else like from "My Site" Link to comment https://forums.phpfreaks.com/topic/75537-solved-mail-function-from/ Share on other sites More sharing options...
piznac Posted October 31, 2007 Share Posted October 31, 2007 <?php $headers = "From: [email protected]"; mail($to, $subject, $message, $headers) ?> Is that what you are looking for? Link to comment https://forums.phpfreaks.com/topic/75537-solved-mail-function-from/#findComment-382132 Share on other sites More sharing options...
st0rmer Posted October 31, 2007 Author Share Posted October 31, 2007 Sorry about this, i found out the error i was making. Thanks anyway piznac! Link to comment https://forums.phpfreaks.com/topic/75537-solved-mail-function-from/#findComment-382140 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.