3 namespace BookStack\Notifications;
5 use Illuminate\Bus\Queueable;
6 use Illuminate\Contracts\Queue\ShouldQueue;
7 use Illuminate\Notifications\Messages\MailMessage;
8 use Illuminate\Notifications\Notification;
10 class MailNotification extends Notification implements ShouldQueue
15 * Get the notification's channels.
17 * @param mixed $notifiable
19 * @return array|string
21 public function via($notifiable)
27 * Create a new mail message.
31 protected function newMailMessage()
33 return (new MailMessage())->view([
34 'html' => 'vendor.notifications.email',
35 'text' => 'vendor.notifications.email-plain',