BookStack/app/Notifications/TestEmail.php
2019-10-16 08:24:33 +02:00

19 lines
590 B
PHP

<?php namespace BookStack\Notifications;
class TestEmail extends MailNotification
{
/**
* Get the mail representation of the notification.
*
* @param mixed $notifiable
* @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'));
}
}