PHP 8.3.30
Preview: SendOtpMail.php Size: 491 B
/home/getspomw/itechservicellc.com/app/Mail/SendOtpMail.php

<?php
namespace App\Mail;

use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;

class SendOtpMail extends Mailable
{
    use Queueable, SerializesModels;

    public $otp;

    public function __construct($otp)
    {
        $this->otp = $otp;
    }

    public function build()
    {
        return $this->subject('Your OTP Code')
            ->view('emails.send_otp')
            ->with(['otp' => $this->otp]);
    }
}

Directory Contents

Dirs: 0 × Files: 5

Name Size Perms Modified Actions
1.07 KB lrw-r--r-- 2025-10-28 20:21:36
Edit Download
569 B lrw-r--r-- 2025-10-28 20:21:36
Edit Download
491 B lrw-r--r-- 2025-10-28 20:21:36
Edit Download
540 B lrw-r--r-- 2025-10-28 20:21:36
Edit Download
1.11 KB lrw-r--r-- 2025-10-28 20:21:36
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).