Spaces:
Running
Running
| namespace App\Mails; | |
| use Illuminate\Bus\Queueable; | |
| use Illuminate\Contracts\Queue\ShouldQueue; | |
| use Illuminate\Mail\Mailable; | |
| use Illuminate\Queue\SerializesModels; | |
| use Carbon\Carbon; | |
| class VerifyMail extends Mailable | |
| { | |
| use Queueable, SerializesModels; | |
| public $verificationUrl; | |
| public function __construct($verificationUrl) | |
| { | |
| $this->verificationUrl = $verificationUrl; | |
| } | |
| public function build() | |
| { | |
| return $this->view('emails.auth.verify') | |
| ->with(['url' => $this->verificationUrl]); | |
| } | |
| } | |