2021-06-26 17:23:15 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace BookStack\Notifications;
|
2019-10-15 18:41:08 +02:00
|
|
|
|
|
|
|
class TestEmail extends MailNotification
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Get the mail representation of the notification.
|
|
|
|
*
|
2021-06-26 17:23:15 +02:00
|
|
|
* @param mixed $notifiable
|
|
|
|
*
|
2019-10-15 18:41:08 +02:00
|
|
|
* @return \Illuminate\Notifications\Messages\MailMessage
|
|
|
|
*/
|
|
|
|
public function toMail($notifiable)
|
|
|
|
{
|
|
|
|
return $this->newMailMessage()
|
|
|
|
->subject(trans('settings.maint_send_test_email_mail_subject'))
|
|
|
|
->greeting(trans('settings.maint_send_test_email_mail_greeting'))
|
|
|
|
->line(trans('settings.maint_send_test_email_mail_text'));
|
|
|
|
}
|
|
|
|
}
|