Domain: amberpublishers.in
Server Adress: 86.38.243.169

privdayz.com

/home/u866425823/domains/ghazalsingerkamalkhan.com/public_html/app/Mail/
Dosya Yükle :
Current File : //home/u866425823/domains/ghazalsingerkamalkhan.com/public_html/app/Mail/OtpVerification.php

<?php

namespace App\Mail;

use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Mail\Mailable;
use Illuminate\Mail\Mailables\Content;
use Illuminate\Mail\Mailables\Envelope;
use Illuminate\Queue\SerializesModels;

class OtpVerification extends Mailable
{
    use Queueable, SerializesModels;

    public $name;
    public $otp;

    /**
     * Create a new message instance.
     */
    public function __construct($name, $otp)
    {
        // handle otp verification
        $this->name = $name;
        $this->otp = $otp;
    }

    /**
     * Build the message.
     *
     * @return $this
     */
    public function build()
    {
        return $this->from(env('MAIL_FROM_ADDRESS', '[email protected]'), env('MAIL_FROM_NAME', 'Ghazal Singer Kamal Khan'))
            ->view('emails.otp-verification')
            ->subject('OTP for Login Verification');
    }
}

coded by Privdayz.com - Visit https://privdayz.com/ for more php shells.