interface MailerInterface

Mail interface

Methods

bool
send(MailInterface $message)

Send email

string|null
getErrorMessage()

Get error message

array
getOptions()

Return mailer options

Details

at line 23
bool send(MailInterface $message)

Send email

Parameters

MailInterface $message

Return Value

bool

at line 30
string|null getErrorMessage()

Get error message

Return Value

string|null

at line 37
array getOptions()

Return mailer options

Return Value

array