test sending booking do to email

This commit is contained in:
omair saleh
2020-11-13 13:17:48 +08:00
parent 33e028d616
commit a2c249167b
+2 -1
View File
@@ -366,7 +366,8 @@ class InvoiceController extends Controller
}
$zip->close();
$attachment = chunk_split(base64_encode(File::get($zipname)));
// $attachment = chunk_split(base64_encode(File::get($zipname)));
$attachment = public_path($zipname);
Mail::raw( 'DO for bookings po approved on '.Carbon::today(), function($message) use ($attachment){
$message->from('exchange@cief-malaysia.com');