I got the message – There was a problem sending the email – today while sending out an invoice. I am using v2.4.3 (White label, self hosted). I tried sending the invoice using a couple of e-mail addresses which I know to exist. Any ideas on how to fixed this? Thank you in advance.
There is no .env file in the root folder of the project. By the way, this was installed with Softaculous (and license purchased). How can I add the file?
Sorry, for some reason I told cPanel to hide those files. Don’t know why. I’ve changed that.
Looking at the .env file of course made a light bulb go on. The outgoing SMTP information is not set up, however, there is a complication. I’ve redirected the mail for this domain using an MX entry so that it goes to Google Apps. Off hand, do you know if I can still send out emails if I’ve done this?
Can you check the log file in storage/logs/laravel.log to see if there are any errors?
Also, although this isn’t likely the problem here, please check that your email credentials are set in the .env file in the root folder of the project.