D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
forge
/
euphoriahub.store
/
app
/
Mail
/
Filename :
DigitalProductOtpVerificationMail.php
back
Copy
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; class DigitalProductOtpVerificationMail extends Mailable { use Queueable, SerializesModels; /** * Create a new message instance. * * @return void */ protected $token; public function __construct($token) { $this->token = $token; } /** * Build the message. * * @return $this */ public function build() { $token = $this->token; return $this->subject(translate('digital_Product_OTP_Verification'))->view('email-templates.digital-product-otp-verificationMail', ['token' => $token]); } }