cesargaray's avatar

Mail not work after update

Hi guys. After update to Lumen 5.2.4, the mail class not work. This is my code:
use Mail; \Mail::raw(...)
The error response is
Class 'Mail' not found

To be sure and for test, I made a clean new isntalation and the error still happening. I tryed to use the contracts but when I try to initializace the __construct, the error was that

Target [Illuminate\Contracts\Mail\Mailer] is not instantiable while building

Thanks so much for your time

0 likes
2 replies
joedawson's avatar

user Mail;? That's wrong. It should be use not user.

use Mail;
1 like
cesargaray's avatar

Hi, thanks for the reply.... my mistake with a typo. I'll fix the post

Please or to participate in this conversation.