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.
36 lines
669 B
36 lines
669 B
<?php
|
|
|
|
namespace App\Mail;
|
|
|
|
use Illuminate\Bus\Queueable;
|
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
|
use Illuminate\Mail\Mailable;
|
|
use Illuminate\Queue\SerializesModels;
|
|
use App\User;
|
|
|
|
class UserCreated extends Mailable
|
|
{
|
|
use Queueable, SerializesModels;
|
|
public $user;
|
|
public $password;
|
|
/**
|
|
* Create a new message instance.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct(User $user,$password)
|
|
{
|
|
$this->user = $user;
|
|
$this->password = $password;
|
|
}
|
|
|
|
/**
|
|
* Build the message.
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function build()
|
|
{
|
|
return $this->markdown('emails.user.created');
|
|
}
|
|
}
|
|
|