I want to add a view to my email. I already set the namespace in my provider but it cannot be found
My map structure is:
src-> Domain -> Quotation -> views-> BookedMail.php
src-> Domain -> Quotation -> QuotationController.php
src-> Providers
The Function being called (from the controller from the Quotation dir)
Mail::send('Quotation::BookedMail', [], function ($message) use ($request) {
$message->to($request['email'], '')->subject('Loslijst ' . date('d-m-Y'));
});
The setting of the namespace ( in the Providers dir )
$this->loadViewsFrom('../Domain/Quotation/views','Quotation');
the error is View [BookedMail] not found