Spec-Zone.ru › Laravel 5.4

MailChannel

class MailChannel (View source)

Свойства

protected Mailer $mailer Реализация почтового сервиса.
protected Closure $markdownResolver Обработчик Markdown.

Методы

void __construct(Mailer $mailer)

Создать новый экземпляр канала почтовой рассылки.

void send(mixed $notifiable, Notification $notification)

Отправить уведомление.

void buildView(MailMessage $message)

Сформировать представление уведомления.

void buildMessage(Message $mailMessage, mixed $notifiable, Notification $notification, MailMessage $message)

Сформировать сообщение электронной почты.

void addressMessage(Message $mailMessage, mixed $notifiable, MailMessage $message)

Указать адресатов сообщения электронной почты.

void addSender(Message $mailMessage, MailMessage $message)

Добавить адреса "отправителя" и "ответ".

mixed getRecipients(mixed $notifiable, MailMessage $message)

Получить адресатов данного сообщения.

void addAttachments(Message $mailMessage, MailMessage $message)

Добавить вложение в сообщение.

$this setMarkdownResolver(Closure $callback)

Установить обработчик Markdown.

Подробности

void __construct(Mailer $mailer)

Создать новый экземпляр канала почтовой рассылки.

Параметры

Mailer $mailer

Возвращаемое значение

void

void send(mixed $notifiable, Notification $notification)

Отправить уведомление.

Параметры

mixed $notifiable
Notification $notification

Возвращаемое значение

void

protected void buildView(MailMessage $message)

Сформировать представление уведомления.

Параметры

MailMessage $message

Возвращаемое значение

void

protected void buildMessage(Message $mailMessage, mixed $notifiable, Notification $notification, MailMessage $message)

Сформировать сообщение электронной почты.

Параметры

Message $mailMessage
mixed $notifiable
Notification $notification
MailMessage $message

Возвращаемое значение

void

protected void addressMessage(Message $mailMessage, mixed $notifiable, MailMessage $message)

Указать адресатов сообщения электронной почты.

Параметры

Message $mailMessage
mixed $notifiable
MailMessage $message

Возвращаемое значение

void

protected void addSender(Message $mailMessage, MailMessage $message)

Добавить адреса "отправителя" и "ответ".

Параметры

Message $mailMessage
MailMessage $message

Возвращаемое значение

void

protected mixed getRecipients(mixed $notifiable, MailMessage $message)

Получить адресатов данного сообщения.

Параметры

mixed $notifiable
MailMessage $message

Возвращаемое значение

mixed

protected void addAttachments(Message $mailMessage, MailMessage $message)

Добавить вложение в сообщение.

Параметры

Message $mailMessage
MailMessage $message

Возвращаемое значение

void

$this setMarkdownResolver(Closure $callback)

Установить обработчик Markdown.

Параметры

Closure $callback

Возвращаемое значение

$this

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.4/Illuminate/Notifications/Channels/MailChannel.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API