2021-06-26 11:23:15 -04:00
|
|
|
<?php
|
|
|
|
|
2023-09-11 14:26:28 -04:00
|
|
|
namespace BookStack\Settings;
|
2019-10-15 12:41:08 -04:00
|
|
|
|
2023-09-11 14:26:28 -04:00
|
|
|
use BookStack\App\MailNotification;
|
2023-09-02 10:11:42 -04:00
|
|
|
use BookStack\Users\Models\User;
|
|
|
|
use Illuminate\Notifications\Messages\MailMessage;
|
|
|
|
|
2023-09-11 14:26:28 -04:00
|
|
|
class TestEmailNotification extends MailNotification
|
2019-10-15 12:41:08 -04:00
|
|
|
{
|
2023-09-02 10:11:42 -04:00
|
|
|
public function toMail(User $notifiable): MailMessage
|
2019-10-15 12:41:08 -04:00
|
|
|
{
|
|
|
|
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'));
|
|
|
|
}
|
|
|
|
}
|