class NativeDriver implements MailDriverInterface (View source)

Methods

mixed
__construct(array $config = [])

SimpleMail Constructor

on(string $from)

Switch on other define from

bool
send(Message $message)

Implement send email

Details

mixed __construct(array $config = [])

SimpleMail Constructor

Parameters

array $config

Return Value

mixed

NativeDriver on(string $from)

Switch on other define from

Parameters

string $from

Return Value

NativeDriver

bool send(Message $message)

Implement send email

Parameters

Message $message

Return Value

bool

Exceptions

InvalidArgumentException