How to protect privacy in form-mail

Discussion in 'PHP' started by JustAnotherDude, Oct 17, 2007.

  1. #1
    Hello,

    I inherited a temp job helping get a web site moved to a new host. One of the questions I was asked is with regard to customer privacy. It seems that when a customer fills out the "contact us" mail form at their web page, the email header contains the customer's IP address. Not sure why that's a big deal, but the owner is all hot about it. It 's in the header data, like this...

    X-EN-OrigIP: 168.233.1.6

    Is there a way to prevent that, and if so are there any legal issues to worry about?

    The script uses the mail() function to sent the form data. It only goes to the company "info" address, so I'm still puzzled why it's an issue.
    Any advice appreciated.
    Thanks!
     
    JustAnotherDude, Oct 17, 2007 IP
  2. Winagain

    Winagain Well-Known Member

    Messages:
    918
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    120
    #2
    Most systems will send the IP adress from the user. For example, if any email is sent from a desktop software (outlook, thunderbird) will include the IP in the headers.
    There's no legal issue you should be concerned about, since it's common practice
     
    Winagain, Oct 17, 2007 IP