Connection could not be established with host "mailpit:1025"
Connection could not be established with host "mailpit:1025": stream_socket_client(): php_network_getaddresses: getaddrinfo for mailpit failed: No such host is known.
1 Reply
Mailpit is a self-hosted mailserver for capturing the emails your application sends, when in development.
Laravel defaults to expecting you to have mailpit on your local PC ... you can override that by changing the MAIL_xxxx settings in your
.env
file.