short-url/app/Mail/ForgotPassword.php
2020-07-01 21:06:40 +07:00

38 lines
646 B
PHP

<?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
class ForgotPassword extends Mailable
{
use Queueable, SerializesModels;
public $name;
public $password;
/**
* Create a new message instance.
*
* @param $name
* @param $password
*/
public function __construct($name, $password)
{
$this->name = $name;
$this->password = $password;
}
/**
* Build the message.
*
* @return $this
*/
public function build()
{
return $this->view('template.email.forgot');
}
}