mirror of
https://github.com/supanadit/todo.git
synced 2024-11-27 21:16:23 +00:00
38 lines
646 B
PHP
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');
|
|
}
|
|
}
|