$pdf = PDF::loadView('SchoolAccount.invoice_receipt', $data) set_time_limit(300);
Mail::send('SchoolAccount.invoice_receipt', $data, function($message)use($data,$pdf,$family) {
$message->to($family->father_email)
->subject('Invoice Receipt')
->from('mail@mail.com','Invoices')
->attachData($pdf->output(), "invoice.pdf");
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2WVy4Ci
via IFTTT
Aucun commentaire:
Enregistrer un commentaire