Results 1 to 2 of 2

Thread: Exim From Field

  1. #1
    Join Date
    Jul 2003
    Posts
    75

    Exim From Field

    Okay, I have a form on my web site that users can fill out to contact me. I just noticed that the e-mails I receive from this form do not have the headers I want. Here is an example:

    User return e-mail address is [email protected] I want the from field to be [email protected]. However, I get:

    From: [email protected]
    Reply-To: [email protected]


    Is there any way I can change that behavior?

  2. #2
    Join Date
    Dec 2005
    Location
    Internet
    Posts
    1,337
    You cannot change the "From" address from [email protected] to [email protected] . Instead, you can modify it by giving an alias to the email address. For example, if you give the following code

    $from_header = "[email protected]"

    The recipient will see "[email protected]" as the sender address, but the email headers will show that the email is coming from [email protected]

    If you have phpsuexec enabled, you can change the [email protected] to user@server.myserver.com.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •