Skip to content
Advertisement

LARAVEL “mkdir(): No such file or directory” SEND MAIL [closed]

I’m trying to send email from laravel, but I keep geting this error:

mkdir(): No such file or directory

The code is:

JavaScript

Can anyone help?

Advertisement

Answer

To make this crystal clear, for some reason laravel tmp folder did not exist in my storage folder, the first step was to create a tmp folder with the right permissions. After that I had to edit my app/Providers/AppServiveProvider.php as pointed in this question: Error throwing while sending an email using laravel, and the final step was go to my config/mail.php and set all the variables necessary to send email ( I don’t understand why, since my env files already had all necessary data).

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement