mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 12:24:09 +00:00
test sending booking do to email
This commit is contained in:
@@ -374,10 +374,7 @@ class InvoiceController extends Controller
|
||||
$message->to('uldvstar@gmail.com');
|
||||
$message->subject('DO for bookings on'.Carbon::today());
|
||||
|
||||
$message->attachData($attachment, 'do_'.Carbon::today()->format('Y_m_d').'.zip', [
|
||||
'as' => 'do_'.Carbon::today()->format('Y_m_d').'.zip',
|
||||
'mime' => 'application/zip',
|
||||
]);
|
||||
$message->attach($attachment);
|
||||
});
|
||||
|
||||
File::delete($zipname);
|
||||
|
||||
Reference in New Issue
Block a user