Try restarting PHP-FPM process on the production server
Issue with going live and mail
Hi. We're making a site live today and previously we were testing with mailtrap and now for live using mailgun. I have a Digitalocean droplet that we had the test app on, and then today when I want it to go live, i switched everything over to production and checked everything, before pointing the old domain to the new.
The issue I've just hit is that every time I try to send an email it wants to use mailtrap.
Ive updated the .env to reflect the correct details and have run the following. I've checked for other configs and theres no sign of any use of mailtrap anywhere.
php artisan cache:clear
php artisan view:clear
php artisan route:clear
php artisan clear-compiled
php artisan config:cache
If i update the env file it reflects on the app, just ignores the mail settings.
All the settings are pointing to mailgun... I just don't get it! Theres no custom config that should interfear with this.
Any ideas?
Ok, so I fixed the issue after leaving it for a while. I logged back into the droplet this morning and restarted the server and it worked!!!! The good old IT Tech support saying of "Have you turned it off and back on again?" was true in this case. I don't know whether to be upset or happy at the moment...
Please or to participate in this conversation.