interface TransportInterface implementsStringable

Interface for all mailer transports.

When sending emails, you should prefer MailerInterface implementations as they allow asynchronous sending.

Methods

SentMessage|null
send(RawMessage$message,Envelope$envelope =null)

No description

Details

SentMessage|null send(RawMessage$message,Envelope$envelope =null)

Parameters

RawMessage $message
Envelope $envelope

Return Value

SentMessage|null

Exceptions

TransportExceptionInterface