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" Quote 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: sales@sewnice.biz"; mail($to, $subject, $message, $headers) ?> Is that what you are looking for? Quote 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! Quote Link to comment https://forums.phpfreaks.com/topic/75537-solved-mail-function-from/#findComment-382140 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.