Jump to content

Archived

This topic is now archived and is closed to further replies.

davidsakh

changing email headers

Recommended Posts

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?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
[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 Staff

not

From akd334k3k

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.