mirror of
https://github.com/supanadit/short-url.git
synced 2024-11-22 18:26:21 +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');
|
||
|
}
|
||
|
}
|