Submission

A submission is one message passed to one transport once.

Usage

Source

Submission(
    message,
    from_address,
    message_id,
    date,
)

Only Connection.send builds one. Sending a message twice makes two submissions with two ids, because identity belongs to the send. See ADR-0015.

Attributes

message: Message

The message as the caller built it.

from_address: str

The backend’s from address, which a Message never carries.

message_id: str

The Message-ID Epistole generated, with its angle brackets.

date: datetime
The Date Epistole set, timezone-aware in the sending machine’s offset.