MailChannel
class MailChannel
Methods
Get the mailer Closure for the message.
Get additional meta-data to pass along with the view data.
Build the mail message.
Address the mail message.
Add the "from" and "reply to" addresses to the message.
Get the recipients of the given message.
Details
at line 39
SentMessage|null
send(mixed $notifiable, Notification $notification)
Send the given notification.
at line 63
protected Closure
messageBuilder(mixed $notifiable, Notification $notification, MailMessage $message)
Get the mailer Closure for the message.
at line 73
protected array|string
buildView(MailMessage $message)
Build the notification's view.
at line 88
protected Closure
buildMarkdownHtml(MailMessage $message)
Build the HTML view for a Markdown message.
at line 100
protected Closure
buildMarkdownText(MailMessage $message)
Build the text view for a Markdown message.
at line 119
protected string
markdownTheme(MailMessage $message)
Resolve the Markdown theme for the notification.
at line 130
protected array
additionalMessageData(Notification $notification)
Get additional meta-data to pass along with the view data.
at line 146
protected void
buildMessage(Message $mailMessage, mixed $notifiable, Notification $notification, MailMessage $message)
Build the mail message.
at line 178
protected void
addressMessage(Message $mailMessage, mixed $notifiable, Notification $notification, MailMessage $message)
Address the mail message.
at line 200
protected void
addSender(Message $mailMessage, MailMessage $message)
Add the "from" and "reply to" addresses to the message.
at line 216
protected array
getRecipients(mixed $notifiable, Notification $notification, MailMessage $message)
Get the recipients of the given message.
at line 234
protected void
addAttachments(Message $mailMessage, MailMessage $message)
Add the attachments to the message.
at line 250
protected MailChannel
runCallbacks(Message $mailMessage, MailMessage $message)
Run the callbacks for the message.