Email - Help Please

I can’t get any emails to send. When I look at the activity log, it says:

Connection could not be established with host “”: stream_socket_client(): php_network_getaddresses:getaddrinfo for failed. Name or service not known

My .env file shows:

Why is this not updating so the emails can be sent?


After changing the .env file you may need to run php artisan optimize.

Could you give me some insight on how to do that? I’m not very technical with this, I’m surprised I got as far as I did.

You would run that command from the CLI.

Another option is to load /update?secret= (or /public/update?secret=) in the browser.