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