I am using the Laravel default mail directory. The path is like this:
resources/views/vendor/mail/html/
. This is a directory and I added two new custom email templates.
Inside the html
directory I have the following blade files:
- email_promo.blade.php
- email_temp.blade.php
- message.blade.php
When I use the first two templates it is giving me this error:
View [vendor.mail.html.email_promo] not found.
View [vendor.mail.html.email_temp] not found.
But the default message.blade.php
email template is working. Does anyone one know why it is saying that? I have cleared the view and checked if it’s case-senstive but it is the same as defined. Can anyone help with this?
I am expecting that the view error should not be generated.