На простом английском:
From
- это сообщение от кого. От кого почтовый клиент получателя должен отображать сообщение, от кого.
Sender
обычно совпадает с From
, , если сообщение не было отправлено кем-либо или какой-либо другой системой, отличной от фактического адреса From
.
Пример: Gmail, если он настроен для домена, не размещенного в Gmail. From
будет содержать you@yourdomain.com, а Sender
будет содержать somebody@gmail.com. Многие почтовые клиенты будут отображать это как somebody@gmail.com от имени you@yourdomain.com.
Из официального RFC - Регистрация полей заголовка почты и MIME
2.1.2. Header Field: From
Description:
Mailbox of message author
[...]
Related information:
Specifies the author(s) of the message; that is, the mailbox(es)
of the person(s) or system(s) responsible for the writing of the
message. Defined as standard by RFC 822.
2.1.3. Header Field: Sender
Description:
Mailbox of message sender
[...]
Related information:
Specifies the mailbox of the agent responsible for the actual
transmission of the message. Defined as standard by RFC 822.