Is there a way to troubleshoot why messages are not sending?
I’ve looked in the laravel log, and I can see an email is generated to the test client, and another is generated for the admin (a notification to say an email was sent to client). I see PDFs were attached. But there’s no sign of any error data or success / failure data.
On the front-end, Ninja states the email was successfully sent.
Also, if I set up a php script on the site to send emails using those same credentials, it sends fine. So it’s not a connectivity issue between the server and Mailgun.
Where to see whether the e-mail has been sent indeed? .env changed to smtp, php artisan optimize - done, it’s shown “e-mail has been sent successfully” but it’s never been received to the specified e-mail.
The queue is not running (check the database table jobs to see if any records are in there (it should be empty))
There is a configuration error / or a direct error message from the email server (check database table system_logs, the SMTP server error will be reported in there)
I seam to be having the same problem. Emails not being received although it’s saying that “email sent successfully”. Nothing in the jobs table and nothing in system_logs table smtp related.
Got mine figured out… Hope this helps someone else out:
When doing the initial install I had to select log. When I went back in and changed to smtp, I have a local server that doesnt required authentication. I thought I could leave those fields blank, but it only worked when I put the value of null.