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? Quote Link to comment Share on other sites More sharing options...
hitman6003 Posted August 2, 2006 Share Posted August 2, 2006 First, why?Second, use the "-f simulatedfrom@address.com" 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. Quote Link to comment 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 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.