irrelevantjoker Posted October 4, 2006 Share Posted October 4, 2006 hey all,i have some php code that emails my email address with information about a customer who uses my site,the emails i get are from "anonymous@etc.etc.com"is there a way to change the email it's from? and give it a name? so when i get an email it will be from "Tom's Toys<tom@toys.com>", something like that? Quote Link to comment Share on other sites More sharing options...
brendandonhue Posted October 4, 2006 Share Posted October 4, 2006 You can set the From address by changing sendmail_from in php.ini, or by setting a From: header when you call mail(). Quote Link to comment Share on other sites More sharing options...
irrelevantjoker Posted October 4, 2006 Author Share Posted October 4, 2006 kk, i used it in the mail() functionquite simple now i know how ;Dcheers very much Quote Link to comment Share on other sites More sharing options...
brendandonhue Posted October 5, 2006 Share Posted October 5, 2006 No problem :) 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.