generated from boboko/starter
28 lines
607 B
PHP
28 lines
607 B
PHP
<?php
|
|
|
|
namespace App\Mail;
|
|
|
|
use Illuminate\Mail\Mailable;
|
|
use Illuminate\Mail\Mailables\Content;
|
|
use Illuminate\Mail\Mailables\Envelope;
|
|
|
|
/**
|
|
* The code that confirms a new login email — see Account\EmailController.
|
|
*/
|
|
class EmailChangeCodeMail extends Mailable
|
|
{
|
|
public function __construct(
|
|
public readonly string $code,
|
|
) {}
|
|
|
|
public function envelope(): Envelope
|
|
{
|
|
return new Envelope(subject: 'Επιβεβαίωσε το νέο σου email');
|
|
}
|
|
|
|
public function content(): Content
|
|
{
|
|
return new Content(view: 'emails.email-change-code');
|
|
}
|
|
}
|