![]() Server : Apache System : Linux server2.thebrownbagmedia.com 4.18.0-553.34.1.el8_10.x86_64 #1 SMP Wed Jan 8 09:40:06 EST 2025 x86_64 User : topnotchcv ( 1029) PHP Version : 8.1.32 Disable Function : NONE Directory : /home/topnotchcv/public_html/app/Mail/ |
<?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 Document extends Mailable { use Queueable, SerializesModels; public $data; public function __construct($data) { $this->data = $data; } /** * Build the message. * * @return $this */ public function build() { return $this->from($this->data['from'], $this->data['from_name']) ->markdown('email.document') ->subject($this->data['subject']) ->with('content', $this->data['message']); } }