mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-01 13:21:37 +08:00
22 lines
596 B
PHP
22 lines
596 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'));
|
|
}
|
|
}
|