Mail
in package
Mail utilities — delegates to Tsugi\Services\Mail\MailService
Table of Contents
Methods
- computeCheck() : mixed
- send() : mixed
- sendBulk() : mixed
- Campaign / list-style mail.
- sendTransactional() : mixed
- One-to-one / system response mail.
Methods
computeCheck()
public
static computeCheck(mixed $identity) : mixed
Parameters
- $identity : mixed
send()
public
static send(mixed $to, mixed $subject, mixed $message[, mixed $id = false ][, mixed $token = false ]) : mixed
Prefer sendTransactional() or sendBulk(). Defaults to transactional.
Parameters
- $to : mixed
- $subject : mixed
- $message : mixed
- $id : mixed = false
- $token : mixed = false
sendBulk()
Campaign / list-style mail.
public
static sendBulk(mixed $to, mixed $subject, mixed $message[, mixed $id = false ][, mixed $token = false ]) : mixed
Parameters
- $to : mixed
- $subject : mixed
- $message : mixed
- $id : mixed = false
- $token : mixed = false
sendTransactional()
One-to-one / system response mail.
public
static sendTransactional(mixed $to, mixed $subject, mixed $message[, mixed $id = false ][, mixed $token = false ]) : mixed
Parameters
- $to : mixed
- $subject : mixed
- $message : mixed
- $id : mixed = false
- $token : mixed = false