Created
April 2, 2019 10:59
-
-
Save akmalhazim/45812e59bc01f708b7e0fecc749c1b4e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Mail; | |
use Illuminate\Bus\Queueable; | |
use Illuminate\Mail\Mailable; | |
use Illuminate\Queue\SerializesModels; | |
use Illuminate\Contracts\Queue\ShouldQueue; | |
class SendUserVerificationEmail extends Mailable implements ShouldQueue | |
{ | |
use Queueable, SerializesModels; | |
/** | |
* Create a new message instance. | |
* | |
* @return void | |
*/ | |
public $slot; | |
public function __construct($slot) | |
{ | |
$this->slot = $slot; | |
} | |
/** | |
* Build the message. | |
* | |
* @return $this | |
*/ | |
public function build() | |
{ | |
return $this->markdown('mail.users.verify')->subject('ProjekIOT @ Email Verification')->with(['slot' => $this->slot]); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment