Milkyway\SS\SendThis\Mailer
Synopsis
class Mailer
extends Mailer
{
- // members
- protected array $transports = ;
- protected PHPMailer $messenger;
- protected MessageParser $parser;
- protected Contract $eventful;
- private $workingTransport;
- // methods
- public static void now()
- public static void later()
- public static void config()
- public static array split_email()
- public static string admin_email()
- public static mixed message_id_from_headers()
- public void __construct()
- protected void resetMessenger()
- public void send()
- public void sendHTML()
- public void sendPlain()
- public void eventful()
- protected void transport()
Hierarchy
Extends
- Mailer
Tasks
Line | Task |
---|---|
33 | implement a quick send function |
49 | implement a quick queue function |
Members
private
- $workingTransport
protected
- $eventful — \Milkyway\SS\Eventful\Contract
- $messenger — \PHPMailer
- $parser — \Milkyway\SS\SendThis\Contracts\MessageParser
- $transports — array
Methods
protected
public
- __construct()
- admin_email() — Get an administrator or default email
- config()
- eventful()
- later() — Push an email to a queue, with ability to provide a time, callback, alternate transport
- message_id_from_headers() — Get message id from headers
- now() — Send an email immediately, with ability to provide a callback and alternate transport
- send()
- sendHTML()
- sendPlain()
- split_email() — Split a name <email> string