Mailer
in package
Table of Contents
Properties
Methods
- config() : mixed
- connect() : mixed
- SMTP Connection
- errors() : mixed
- Return all errors
- send() : mixed
- Send
- useOAuth() : mixed
- validate() : mixed
Properties
$auth
protected
static mixed
$auth
= 'SMTP'
$config
protected
static mixed
$config
= []
$errors
Errors
protected
static mixed
$errors
= []
$mailer
protected
static mixed
$mailer
Methods
config()
public
static config([mixed $config = [] ]) : mixed
Parameters
- $config : mixed = []
connect()
SMTP Connection
public
static connect(mixed $connection) : mixed
Parameters
- $connection : mixed
errors()
Return all errors
public
static errors() : mixed
send()
Send
public
static send(Mail $mail) : mixed
Parameters
- $mail : Mail
useOAuth()
public
static useOAuth(OAuth $oauth) : mixed
Parameters
- $oauth : OAuth
validate()
protected
static validate(Mail $mail) : mixed
Parameters
- $mail : Mail