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 “smtp.site.com:25”: stream_socket_client(): php_network_getaddresses:getaddrinfo for smtp.site.com failed. Name or service not known

My .env file shows:
image

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

Hi,

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.