. */ declare(strict_types=1); namespace FireflyIII\Mail; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; /** * Class AdminTestMail. * * Sends a test mail to administrators. * * @codeCoverageIgnore */ class AdminTestMail extends Mailable { use Queueable, SerializesModels; public string $email; /** * ConfirmEmailChangeMail constructor. * * @param string $email */ public function __construct(string $email) { $this->email = $email; } /** * Build the message. * * @return $this */ public function build(): self { return $this ->markdown('emails.admin-test') ->subject((string) trans('email.admin_test_subject')); } }