interface MailerInterface

Interface for mailers able to send emails synchronous and/or asynchronous.

Implementations must support synchronous and asynchronous sending.

Methods

void
send(RawMessage$message,Envelope$envelope =null)

No description

Details

void send(RawMessage$message,Envelope$envelope =null)

Parameters

RawMessage $message
Envelope $envelope

Return Value

void

Exceptions

TransportExceptionInterface