Table of Contents

What is the Email sender? (MAIL FROM, Envelop Sender, Bounce Address)

About

The sender is an envelope email address (mailbox) that:

The sender is also known as:

Sender vs Author (From:)

The value is generally the author (ie the address in the from header) but in other cases such as a mailing list, it may be not.

Example

[email protected]
[email protected]

Return-Path Header

If there are multiple relays, the original sender can be found in the Return-Path header.

Sender Policy

In a SMTP transaction, the sender should conform to the Sender Policy Framework (SPF)

Library

Java

You set the bounce with the mail.smtp.host property

Properties props = new Properties();
props.put("mail.smtp.host", "my-mail-server");
Session session = Session.getInstance(props, null);

1) 2)