Domain: amberpublishers.in
Server Adress: 86.38.243.169
privdayz.com
<?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', 'News Cafe India'))
->view('emails.otp-verification')
->subject('OTP for Login Verification');
}
}
