Mailer::setSwiftMailer()

void setSwiftMailer(Swift_Mailer $swift) Set the Swift Mailer instance. Parameters Swift_Mailer $swift Return Value void

Mailer::setQueue()

$this setQueue(Factory $queue) Set the queue manager instance. Parameters Factory $queue Return Value $this

Mailer::setContainer()

void setContainer(Container $container) Set the IoC container instance. Parameters Container $container Return Value void

Mailer::send()

void send(string|array $view, array $data = array(), Closure|string $callback = null) Send a new message using a view. Parameters string|array $view array $data Closure|string $callback Return Value void

Mailer::send()

void send(string|array $view, array $data = array(), Closure|string $callback = null) Send a new message using a view. Parameters string|array $view array $data Closure|string $callback Return Value void

Mailer::raw()

int raw(string $text, Closure|string $callback) Send a new message when only a raw text part. Parameters string $text Closure|string $callback Return Value int

Mailer::raw()

int raw(string $text, Closure|string $callback) Send a new message when only a raw text part. Parameters string $text Closure|string $callback Return Value int

Mailer::queueOn()

mixed queueOn(string $queue, string|array $view, array $data, Closure|string $callback) Queue a new e-mail message for sending on the given queue. This method didn't match rest of framework's "onQueue" phrasing. Added "onQueue". Parameters string $queue string|array $view array $data Closure|string $callback Return Value mixed

Mailer::queue()

mixed queue(string|array $view, array $data = array(), Closure|string $callback = null, string $queue = null) Queue a new e-mail message for sending. Parameters string|array $view array $data Closure|string $callback string $queue Return Value mixed

Mailer::plain()

void plain(string $view, array $data, mixed $callback) Send a new message when only a plain part. Parameters string $view array $data mixed $callback Return Value void