Sindbad~EG File Manager
<?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
class GeneralMail extends Mailable {
use Queueable, SerializesModels;
/**
* Create a new message instance.
*
* @return void
*/
protected $content;
public function __construct($content) {
$this->content = $content;
}
/**
* Build the message.
*
* @return $this
*/
public function build() {
return $this->subject($this->content->subject)
->markdown('email.general_template')
->with('content', $this->content);
}
}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists