JFIF x x C C " } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w !1AQ aq"2B #3Rbr{
File "Mailer.php"
Full Path: /home/u735268861/domains/palsarh.in/public_html/app/Mail/Mailer.php
File size: 1.14 KB
MIME-type: text/x-php
Charset: utf-8
<?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 Mailer extends Mailable
{
use Queueable, SerializesModels;
public $subject;
public $description;
/**
* Create a new message instance.
*/
public function __construct($mail_data)
{
$this->subject = $mail_data['subject'];
$this->description = $mail_data['description'];
}
/**
* Get the message envelope.
*/
public function envelope(): Envelope
{
return new Envelope(
subject: $this->subject,
);
}
/**
* Get the message content definition.
*/
public function content(): Content
{
return new Content(
view: 'admin.newsletter.email_temp',
);
}
/**
* Get the attachments for the message.
*
* @return array<int, \Illuminate\Mail\Mailables\Attachment>
*/
public function attachments(): array
{
return [];
}
}