test sending booking do to email

This commit is contained in:
omair saleh
2020-11-13 15:15:59 +08:00
parent 066fda47dd
commit 1723b91a1f
+2 -2
View File
@@ -46,10 +46,10 @@ class Kernel extends ConsoleKernel
$zip->close();
$attachment = storage_path('tempdir').'/'.$zipname;
Mail::raw( 'DO for bookings po approved on '.Carbon::today()->format('d/m/Y'), function($message) use ($attachment){
Mail::raw( 'This is an automatically generated email please do not reply to it. If you have any queries kindly contact our admin team through Wechat.\r\n\r\nAttention to VT Admin team:\r\n\r\nKindly refer to the attachment for our DAILY DO COMPILATION '.Carbon::today()->format('d-m-Y').'.\r\n\r\n\r\nCIEF WORLDWIDE SDN BHD', function($message) use ($attachment){
$message->from('exchange@cief-malaysia.com');
$message->to(['uldvstar@gmail.com', 'pm@cief-malaysia.com', 'hasan@cief-malaysia.com', 'hasanakbar27@gmail.com', 'pmwong2019@gmail.com']);
$message->subject('DO for bookings on '.Carbon::today()->format('d/m/Y'));
$message->subject('CIEF DAILY DO COMPILATION '.Carbon::today()->format('d-m-Y'));
$message->attach($attachment);
});