MailChannel
class MailChannel (View source)
Properties
| protected Factory | $mailer | The mailer implementation.  | 
                |
| protected Markdown | $markdown | The markdown implementation.  | 
                
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
        
                            SentMessage|null
    send(mixed $notifiable, Notification $notification)
        
    
    Send the given notification.
        
                    protected        Closure
    messageBuilder(mixed $notifiable, Notification $notification, MailMessage $message)
        
    
    Get the mailer Closure for the message.
        
                    protected        string|array
    buildView(MailMessage $message)
        
    
    Build the notification's view.
        
                    protected        Closure
    buildMarkdownHtml(MailMessage $message)
        
    
    Build the HTML view for a Markdown message.
        
                    protected        Closure
    buildMarkdownText(MailMessage $message)
        
    
    Build the text view for a Markdown message.
        
                    protected        Markdown
    markdownRenderer(MailMessage $message)
        
    
    Get the Markdown implementation.
        
                    protected        array
    additionalMessageData(Notification $notification)
        
    
    Get additional meta-data to pass along with the view data.
        
                    protected        void
    buildMessage(Message $mailMessage, mixed $notifiable, Notification $notification, MailMessage $message)
        
    
    Build the mail message.
        
                    protected        void
    addressMessage(Message $mailMessage, mixed $notifiable, Notification $notification, MailMessage $message)
        
    
    Address the mail message.
        
                    protected        void
    addSender(Message $mailMessage, MailMessage $message)
        
    
    Add the "from" and "reply to" addresses to the message.
        
                    protected        mixed
    getRecipients(mixed $notifiable, Notification $notification, MailMessage $message)
        
    
    Get the recipients of the given message.
        
                    protected        void
    addAttachments(Message $mailMessage, MailMessage $message)
        
    
    Add the attachments to the message.
        
                    protected        $this
    runCallbacks(Message $mailMessage, MailMessage $message)
        
    
    Run the callbacks for the message.