PHP 8.3.30
Preview: TestMail.php Size: 1.11 KB
/home/getspomw/itechservicellc.com/app/Mail/TestMail.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;
use Illuminate\Mail\Mailables\Attachment;

class TestMail extends Mailable
{
    use Queueable, SerializesModels;
    public $emailData;
    /**
     * Create a new message instance.
     */
    public function __construct($emailData)
    {
        $this->emailData = $emailData;
    }
  
    /**
     * Get the message envelope.
     */
    public function envelope(): Envelope
    {
       
        return new Envelope(
            subject: 'Test Mail',
        );
    }
  
    /**
     * Get the message content definition.
     */
    public function content(): Content
    {
       
        return new Content(
            view: 'frontend.emails.contact',
        );
        dd('tets');
    }
  
    /**
     * Get the attachments for the message.
     *
     * @return array
     */
    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).