Mailer (Contracts)

Mailer

interface Mailer (View source)

Methods

int raw(string $text, Closure|string $callback)

Send a new message when only a raw text part.

void send(string|array $view, array $data = array(), Closure|string $callback = null)

Send a new message using a view.

array failures()

Get the array of failed recipients.

Details

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

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

array failures()

Get the array of failed recipients.

Return Value

array

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Contracts/Mail/Mailer.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部