Jump to content


Photo

changing email headers


  • Please log in to reply
2 replies to this topic

#1 davidsakh

davidsakh
  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 02 August 2006 - 10:47 PM

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?

#2 hitman6003

hitman6003
  • Members
  • PipPipPip
  • Advanced Member
  • 1,807 posts

Posted 02 August 2006 - 11:37 PM

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.

#3 davidsakh

davidsakh
  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 03 August 2006 - 12:25 AM

why


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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users