You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
660 B
37 lines
660 B
1 year ago
|
<?php
|
||
|
|
||
|
namespace App\Mail;
|
||
|
|
||
|
use Illuminate\Bus\Queueable;
|
||
|
use Illuminate\Mail\Mailable;
|
||
|
use Illuminate\Queue\SerializesModels;
|
||
|
|
||
|
class EmailVerification extends Mailable
|
||
|
{
|
||
|
use Queueable, SerializesModels;
|
||
|
|
||
|
/**
|
||
|
* Create a new message instance.
|
||
|
*
|
||
|
* @return void
|
||
|
*/
|
||
|
|
||
|
protected $reset_url;
|
||
|
|
||
|
public function __construct($reset_url)
|
||
|
{
|
||
|
$this->reset_url = $reset_url;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Build the message.
|
||
|
*
|
||
|
* @return $this
|
||
|
*/
|
||
|
public function build()
|
||
|
{
|
||
|
$reset_url = $this->reset_url;
|
||
|
return $this->view('email-templates.email-valification', ['reset_url' => $reset_url]);
|
||
|
}
|
||
|
}
|