class SmtpAdapter implements MailAdapterInterface (View source)

Methods

__construct(array $config)

Smtp Constructor

bool
send(Envelop $envelop)

Start sending mail

Details

__construct(array $config)

Smtp Constructor

Parameters

array $config

bool send(Envelop $envelop)

Start sending mail

Parameters

Envelop $envelop

Return Value

bool

Exceptions

SocketException
ErrorException