Steve Angelis Posted April 11, 2008 Share Posted April 11, 2008 Ok, here it is. I have a 100% working Email script except for one problem. I want to change it so when the email is recieved it does not come up as nobody. I have found complicated ways of doing it, but here is my script: $to='me@me.com'; $subject='blah sub'; $body='the message'; mail($to, $subject, $body'); Now this works just fine, but how do I add a from in there? Would I just add it in the end with defining the from or? Quote Link to comment Share on other sites More sharing options...
Northern Flame Posted April 11, 2008 Share Posted April 11, 2008 $from = "From: you@you.com"; mail($to, $subject, $body, $from); or $from = "From: Your Name<you@you.com>"; Quote Link to comment Share on other sites More sharing options...
Steve Angelis Posted April 11, 2008 Author Share Posted April 11, 2008 Thankx Quote Link to comment Share on other sites More sharing options...
Northern Flame Posted April 11, 2008 Share Posted April 11, 2008 remember to hit "Topic Solved" if you have no more questions Quote Link to comment 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.