class SmtpDriver implements MailDriverInterface (View source)

Methods

__construct(array $config)

Smtp Constructor

bool
send(Message $message)

Start sending mail

Details

__construct(array $config)

Smtp Constructor

Parameters

array $config

bool send(Message $message)

Start sending mail

Parameters

Message $message

Return Value

bool

Exceptions

SocketException
ErrorException