Documentation

MailChannel
in package

Table of Contents

$mailer  : Mailer
The mailer implementation.
$markdown  : Markdown
The markdown implementation.
__construct()  : void
Create a new mail channel instance.
send()  : void
Send the given notification.
addAttachments()  : void
Add the attachments to the message.
addressMessage()  : void
Address the mail message.
addSender()  : void
Add the "from" and "reply to" addresses to the message.
buildMessage()  : void
Build the mail message.
buildView()  : string|array<string|int, mixed>
Build the notification's view.
getRecipients()  : mixed
Get the recipients of the given message.
messageBuilder()  : Closure
Get the mailer Closure for the message.

Properties

Methods

send()

Send the given notification.

public send(mixed $notifiable, Notification $notification) : void
Parameters
$notifiable : mixed
$notification : Notification
Return values
void

addressMessage()

Address the mail message.

protected addressMessage(Message $mailMessage, mixed $notifiable, MailMessage $message) : void
Parameters
$mailMessage : Message
$notifiable : mixed
$message : MailMessage
Return values
void

buildView()

Build the notification's view.

protected buildView(MailMessage $message) : string|array<string|int, mixed>
Parameters
$message : MailMessage
Return values
string|array<string|int, mixed>

getRecipients()

Get the recipients of the given message.

protected getRecipients(mixed $notifiable, MailMessage $message) : mixed
Parameters
$notifiable : mixed
$message : MailMessage
Return values
mixed

Search results