class NativeAdapter implements MailAdapterInterface (View source)

Methods

__construct(array $config = [])

SimpleMail Constructor

on(string $from)

Switch on other define from

bool
send(Envelop $envelop)

Implement send email

Details

__construct(array $config = [])

SimpleMail Constructor

Parameters

array $config

NativeAdapter on(string $from)

Switch on other define from

Parameters

string $from

Return Value

NativeAdapter

Exceptions

MailException

bool send(Envelop $envelop)

Implement send email

Parameters

Envelop $envelop

Return Value

bool

Exceptions

InvalidArgumentException