1. HTTP (Hypertext Transfer Protocol)

  1. HTTP Headers

  1. From
    1. Writing requests
    2. Reading requests
    3. Overview table
    4. Syntax
      1. Example

From

The From header field contains an Internet email address for a human user who controls the requesting user agent.

This is not typically see usage, the user has to want feedback and know the server operator might be looking for this header.

Writing requests

Most requests will not use this field for privacy reasons; however it may get legitimate use by automated scripts who want to provide contact information to the script owner (e.g. so the server maintainer can contact the user in the event of misbehavior).

Reading requests

The From header contains unauthenticated contact information, and should be treated with care (to authenticity and privacy). Do not automatically send mail to this address; use should be limited to human-to-human contact if the need arises. If you have a good reason to need to read this, then you can consider logging it temporarily, but otherwise it can be ignored.

Overview table

Name
From
Description
Supplies contact information for the requesting user.
Direction
Request
Specification
RFC 7231: HTTP/1.1 Semantics and Content ยง5.5.1. From

Syntax

From    = mailbox
mailbox = <mailbox, see [RFC5322], Section 3.4>

Example

From: webmaster@example.org
From: Alice <webmaster@example.org>