davidsakh Posted August 2, 2006 Share Posted August 2, 2006 I'm hosting with godaddy and have no access to php.ini.I need to make an email SEEM like it's coming from somewhere it's not (or just change it to 'from MyCompany')Is there any way i can set sendmail_from without access to php.ini? Link to comment https://forums.phpfreaks.com/topic/16384-changing-email-headers/ Share on other sites More sharing options...
hitman6003 Posted August 2, 2006 Share Posted August 2, 2006 First, why?Second, use the "-f [email protected]" as the fourth arguement to the mail function. For some mail clients/mail hosts this will cause the sender to show up as "sent by ... on behalf of ..." but, it's the only way I can think of off hand. Link to comment https://forums.phpfreaks.com/topic/16384-changing-email-headers/#findComment-68199 Share on other sites More sharing options...
davidsakh Posted August 3, 2006 Author Share Posted August 3, 2006 [quote]why[/quote]My username on the site is a series of random letters and numbers. I'm using the php mail command.I want the user to recieve an email like:From the MySite Staffnot From akd334k3k Link to comment https://forums.phpfreaks.com/topic/16384-changing-email-headers/#findComment-68218 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.