]> BookStack Code Mirror - bookstack/blob - app/Notifications/TestEmail.php
Revamped workings of WYSIWYG code blocks
[bookstack] / app / Notifications / TestEmail.php
1 <?php
2
3 namespace BookStack\Notifications;
4
5 class TestEmail extends MailNotification
6 {
7     /**
8      * Get the mail representation of the notification.
9      *
10      * @param mixed $notifiable
11      *
12      * @return \Illuminate\Notifications\Messages\MailMessage
13      */
14     public function toMail($notifiable)
15     {
16         return $this->newMailMessage()
17                 ->subject(trans('settings.maint_send_test_email_mail_subject'))
18                 ->greeting(trans('settings.maint_send_test_email_mail_greeting'))
19                 ->line(trans('settings.maint_send_test_email_mail_text'));
20     }
21 }
Morty Proxy This is a proxified and sanitized view of the page, visit original site.