PHP 8.3.30
Preview: InquiryNotification.php Size: 1.07 KB
/home/getspomw/itechservicellc.com/app/Mail/InquiryNotification.php

<?php

namespace App\Mail;

use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Mail\Mailables\Content;
use Illuminate\Mail\Mailables\Envelope;
use Illuminate\Queue\SerializesModels;
use App\Models\CustomerInquiry;

class InquiryNotification extends Mailable
{
    use Queueable, SerializesModels;

    public $inquiry;

    /**
     * Create a new message instance.
     */
    public function __construct(CustomerInquiry $inquiry)
    {
        $this->inquiry = $inquiry;
    }

    /**
     * Get the message envelope.
     */
    public function envelope(): Envelope
    {
        return new Envelope(
            subject: 'New Customer Inquiry'
        );
    }

    /**
     * Get the message content definition.
     */
    public function content(): Content
    {
        return new Content(
            markdown: 'emails.inquiry',
            with: [
                'inquiry' => $this->inquiry,
            ]
        );
    }

    /**
     * Get the attachments for the message.
     */
    public function attachments(): array
    {
        return [];
    }
}

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).