Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:587 (Network is unreachable)
In Laravel project directory, edit config/mail.php and add the following:
'stream' => [
'ssl' => [
'allow_self_signed' => true,
'verify_peer' => false,
'verify_peer_name' => false,
],
]
It worked for me.
Fyi, my SMTP settings are:
MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=465
MAIL_USERNAME=[Full Gmail Address]
MAIL_PASSWORD=[Google App Password obtained after two step verification on Google Account Page]
MAIL_ENCRYPTION=ssl
Log in, to leave a comment
4
10
I solved my problem in cpanel using the code:
inside `.env` file change
MAIL_DRIVER=smtp
to
MAIL_DRIVER=sendmail
Thank you!
10
0
Are there any code examples left?
New code examples in category Other
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Relative searches
Connection could not be established with host smtp.eu.mailgun.org
Connection could not be established with host mail.
Connection could not be established with host smtp.mailtrap.io :stream_socket_client(): unable to connect to smtp.mailtrap.io:2525 (Connection refused)
Connection could not be established with host smtp.mail.riseagain.in
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:587 (Network is unreachable)\
Connection could not be established with host smtp.mailgun.org :stream_socket_client(): unable to connect to tcp://smtp.mailgun.org:587
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:587 (Cannot assign requested address)
Connection could not be established with host smtp.gmail.com :stream_socket_client
Connection could not be established with host email-smtp.eu-central-1.amazonaws.com :stream_socket_client(): unable to connect to tcp://email-smtp.eu-central-1.amazonaws.com:25 (Connection timed out)
Connection could not be established with host mail..io :stream_socket_client(): unable to connect to mail..io:26
Connection could not be established with host smtp.gmail.com :stream_socket_client(): php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known
Connection could not be established with host smtp.gmail.com :stream_socket_client(): SSL: An existing connection was forcibly closed by the remote host.
Connection could not be established with host smtp.gmail.com :stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages
laravel Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:587 (Network is unreachable)
Connection could not be established with host smtp.sendgrid.net :stream_socket_client(): unable to connect to ssl://smtp.sendgrid.net:465 (Connection refused)
Connection could not be established with host googlemail.com :stream_socket_client()
"Connection could not be established with host mailhog :stream_socket_client(): unable to connect to mailhog:1025 (Network is unreachable)"
Connection could not be established with host smtp.googlemail.com :stream_socket_client(): SSL: An existing connection was forcibly closed by the remote host.
could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:587 (Network is unreachable)
Connection could not be established with host smtp.googlemail.com :stream_socket_client(): unable to connect to ssl://smtp.googlemail.com:465 (Connection timed out)
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:465 (Connection timed out)
"Connection could not be established with host smtp.googlemail.com :stream_socket_client(): unable to connect to tcp://smtp.googlemail.com:587 (Connection timed out)",
"exception": "Swift_TransportException",
Connection could not be established with host smtp.googlemail.com :stream_socket_client(): Peer certificate CN
Connection could not be established with host smtp.googlemail.com :stream_socket_client(): Peer
Connection could not be established with host mail.wninfotech.com :stream_socket_client(): unable to connect to tcp://mail.wninfotech.com:465 (Connection timed out)
Connection could not be established with host smtp.mailtrap.io :stream_socket_client(): unable to connect to tcp://smtp.mailtrap.io:2525 (Connection r
Connection could not be established with host smtp.googlemail.com :stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: e
Connection could not be established with host smtp.googlemail.com :stream_socket_client(): SSL
Connection could not be established with host smtp.googlemail.com :stream_socket_client(): SSL:
Connection could not be established with host smtp.bcmholdings.io :stream_socket_client(): unable to connect to tcp:// in laravel
Connection could not be established with host mail.wninfotech.com :stream_socket_client(): unable to connect to ssl://mail.wninfotech.com:465 (Connection timed out)
Connection could not be established with host mail.fretatech.com.br
Connection could not be established with host smtp.mailtrap.io [Connection refused #111] site:stackoverflow.com
Connection could not be established with host smtp.mailtrap.io :stream_socket_client(): SSL operation failed with code 1.
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to ssl://smtp.gmail.com:587 (Connection refused)
Swift_TransportException Connection could not be established with host smtp.mailtrap.io :stream_socket_client(): unable to connect to tcp://smtp.mailtrap.io:1025 (Connection timed out) https://concours.goocertif.com/password/email
connection could not be established with host mail swift_transportexception
Connection could not be established with host smtp.mailtrap.io [Connection refused #111]
Connection could not be established with host smtp.googlemail.com :stream_socket_client(): unable to connect to ssl://smtp.googlemail.com:465 (Network is unreachable
Connection could not be established with host smtp.mailtrap.io :stream_socket_client(): unable to connect to tcp://smtp.mailtrap.io:2525 (Operation timed out)
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465 (Permission denied)
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:587 (Permission denied)
Connection could not be established with host smtp-mail.gmail.com :stream_socket_client(): php_network_getaddresses: getaddrinfo failed: No such host is known.
Connection could not be established with host smtp.googlemail.com :stream_socket_client(): SSL: The operation completed successfully.
Connection could not be established with host smtp.mailtrap.io :stream_socket_client(): unable to connect to starttls://smtp.mailtrap.io:2525 (Unable to find the socket transport "starttls" - did you forget to enable it when you configured PHP?)
Connection could not be established with host smtp.mailtrap.io :stream_socket_client():
Connection could not be established with host smtp.mailtrap.io :stream_socket_client(): php_network_getaddresses: getaddrinfo failed: No such host is known.
Connection could not be established with host smtp.mailgun.org :stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages
Connection could not be established with host smtp-pulse.com :stream_socket_client(): unable to connect to smtp-pulse.com:2525
Connection could not be established with host smtp.googlemail.com :failed loading cafile stream
Swift_TransportException Connection could not be established with host smtp.gmail.com [Connection refused #111]
Connection could not be established with host email-smtp.us-east-1.amazonaws.com :stream_socket_client()
laravel Connection could not be established with host smtp.gmail.com
Connection could not be established with host smtp.googlemail.com :stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL
Connection could not be established with host mail.latransauto.lv :stream_socket_client(): unable to connect to tcp://mail.latransauto.lv:587 (Connection timed out)
Connection could not be established with host smtp.mailtrap.io :stream_socket_client(): unable to connect to smtp.mailtrap.io:2525
"Connection could not be established with host smtp.mailtrap.io :stream_socket_client()
Connection could not be established with host smtp
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465 (Connection timed out) laravel
Connection could not be established with host smtp.mailtrap.io : local development
Connection could not be established with host smtp.mailtrap.io :
Connection could not be established with host smtpout.secureserver.net :stream_socket_client(): unable to connect to ssl://smtpout.secureserver.net:465 (Connection refused)
Swift_TransportException: Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:587 (Connection timed out)
Connection could not be established with host smtp.gmail.com nextcloud
Connection could not be established with host smtp.gmail.com
Connection could not be established with host smtp.gmail.com :stream_socket_client(
Connection could not be established with host smpt.
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:587 (A socket operation was attempted to an unreachable network.\r\n)
Connection could not be established with host smtp.mailgun.org :stream_socket_client(): Unable to connect to
Connection could not be established with host smtp.mailtrap.io :stream_socket_client(): unable to connect to tsl://smtp.mailtrap.io:465 (Unable to find the socket transport "tsl" - did you forget to enable it when you configured PHP?)
onnection could not be established with host smtp.mailgun.org :stream_socket_client(): SSL operation failed with code 1
Connection could not be established with host smtp.mailgun.org :stream_socket_client():
Connection could not be established with host smtpout.secureserver.net :stream_socket_client(): unable to connect to ssl://smtpout.secureserver.net:587 (Connection timed out) http://artpool.com/mail
Connection could not be established with host smtp.mailtrap.io :stream_socket_client(): unable to connect to smtp.mailtrap.io:2525 (Connection timed out)
Connection could not be established with host "smtp.mailtrap.io:2525": stream_socket_client(): Unable to connect to smtp.mailtrap.io:2525
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:567
"Connection could not be established with host smtp.gmail.com [Network is unreachable #101]
Connection could not be established with host smtp.sendgrid.net :stream_socket_client(): unable to connect to tcp://smtp.sendgrid.net:2525 (Connection refused)
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:587 (Network is unreachable).
Swift_TransportException: Connection could not be established with host smtp.googlemail.com :stream_socket_client(): unable to connect to ssl://smtp.googlemail.com:465 (Network is unreachable)
Connection could not be established with host mail.crazyideaco.com :stream_socket_client(): Unable to connect to mail.crazyideaco.com:25 (Connection timed out)
Connection could not be established with host smtp.mailtrap.io :stream_socket_client(): unable to connect to smtp.mailtrap.io:1025 (A connection attempt failed because the connected party did not properly respond after a period of time,
Swift_TransportException: Connection could not be established with host smtp.googlemail.com :stream_socket_client():
Connection could not be established with host smtp.googlemail.com :stream_socket_client(): unable to connect to tcp://smtp.googlemail.com:587
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:2525
Connection could not be established with host smtp.gmail.io :stream_socket_client(): php_network_getaddresses: getaddrinfo failed: No such host is known.
Swift_TransportException Connection could not be established with host smtp.mailtrap.io :stream_socket_client(): unable to connect to smtp.mailtrap.io:2525 (Connection refused)
Connection could not be established with host smtp.googlemail.com :stream_socket_client(): unable to connect to smtp.googlemail.com:1025 (Connection timed out)
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to smtp.gmail.com:1025 (Connection timed out)
Connection could not be established with host smtp.mailgun.org :stream_socket_client(): unable to connect to smtp.mailgun.org:1025 (Connection timed out)
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to ssl://smtp.gmail.com:587
live.ERROR: Connection could not be established with host smtp.gmail.com :stream_socket_client(): u
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to
Connection could not be established with host "ssl://smtp.gmail.com:465": stream_socket_client():
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:587 (Nenhuma conexão pôde ser feita porque a máquina de destino as recusou ativamente. )
Swift_TransportException Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:2525 (A connection attempt failed because the connected party did not properly respond after a period
Connection could not be established with host smtp.virsalink.in :stream_socket_client():
Connection could not be established with host smtp.googlemail.com :stream_socket_client()
failed with Connection could not be established with host smtp-relay.sendinblue.com :stream_socket_client(): unable to connect to tcp://smtp-relay.sendinblue.com:587 (Connection timed out)
Connection could not be established with host ssl://smtp.gmail.com :stream_socket_client():
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465
onnection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465 (Network is unreachable
Connection could not be established with host smtp.mailtrap.io :stream_socket_client(): unable to connect to tcp://smtp.mailtrap.io:2525
Connection could not be established with host mail.crazyideaco.com
Connection could not be established with host smtp.googlemail.com :stream_socket_client(): unable to connect to ssl://smtp.googlemail.com:465 (Connection refused)
Error: Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:587 (Connection refused)
Connection could not be established with host smtp.googlemail.com :stream_socket_client(): unable to connect to tcp://smtp.googlemail.com:587 (Connection refused)
laravel Connection could not be established with host mail.any.com :stream_socket_client(): unable to connect to tcp://mail.panorama-q.com:456 (Connection timed out)
Connection could not be established with host smtp gmail com connection refused #111
Connection could not be established with host smtp.googlemail.com.io :stream_socket_client():
Connection could not be established with host smtp.sendgrid.net :stream_socket_client(): unable to connect to tcp://smtp.sendgrid.net:587 (Connection refused)
LARAVEL Connection could not be established with host smtp.googlemail.com :stream_socket_client
LARAVEL Connection could not be established with host smtp.googlemail.com
Connection could not be established with host smtp.office365.com :stream_socket_client(): unable to connect to tcp://smtp.office365.com:587
Connection could not be established with host smtp.office365.com :stream_socket_client()
Connection could not be established with host smtp.gmail.com :stream_socket_client(): Unable to connect to tcp://smtp.gmail.com:587
Connection could not be established with host smtp.googlemail.com :stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not know
Connection could not be established with host mailtrap.io :stream_socket_client(): unable to connect to null.://mailtrap.io:2525 (Unable to find the socket transport "null." - did you forget to enable it when you configured PHP?)
Connection could not be established with host smtp.mailtrap.io [Unable to find the socket transport "null" - did you forget to enable it when you configured PHP? #32588]
Connection could not be established with host smtp.mailtrap.io :stream_socket_client(): unable to connect to smtp.mailtrap.io:25 (Connection timed out) linux
Connection could not be established with host smtp.mailtrap.io :stream_socket_client(): unable to connect to smtp.mailtrap.io:25 (Connection timed out)
Connection could not be established with host smtp.mailtrap.io :stream_socket_client(): unable to connect to tcp://smtp.mailtrap.io:2525 (Connection timed out)
Connection could not be established with host smtp.googlemail.com laravel
Connection could not be established with host smtp.mailtrap.io :stream_socket_client(): Unable to connect to smtp.mailtrap.io:1025 (Connection timed out)
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465 (Connection timed out)
Connection could not be established with host smtp.googlemail.com :stream_socket_client():
laravel Connection could not be established with host smtp.googlemail.com :stream_socket_client(): SSL context
Connection could not be established with host smtp.gmail.com :stream_socket_client(): php_network_getaddresses: getaddrinfo failed: No such host is known.
Connection could not be established with host smtp.googlemail.com :stream_socket_client(): php_network_getaddresses: getaddrinfo failed: No such host is known.
Connection could not be established with host smtp.mailgun.org swiftmailer codeigniter
Connection could not be established with host smtp.mailgun.org swiftmailer
Connection could not be established with host smtp.gmail.com godaddy
Connection could not be established with host smtp.gmail.com LARAVEL
Swift_TransportException: Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to smtp.gmail.com:1025 (Se produjo un error durante e
connection could not be established with host smtp.gmail.com stream_socket_client() laravel
Connection could not be established with host smpt.mailgun.org :stream_socket_client(): Unable to connect to tcp://smpt.mailgun.org:587 (Connection refused)
Connection could not be established with host smtp.gmail.com [ #0]
Connection could not be established with host smtp.google.com :stream_socket_client(): unable to connect to tcp://smtp.google.com:587 (Connection timed out)
Connection could not be established with host smtp.google.it :stream_socket_client():
onnection could not be established with host smtp.gmail.com :stream_socket_client(): Peer
Connection could not be established with host smtp.gmail.com :stream_socket_client(): Peer
Connection could not be established with host smtp.gmail.com :st
Swift_TransportException Connection could not be established with host smtp.googlemail.com :stream_socket_client(): unable to connect to ssl://smtp.googlemail.com:465 (Connection timed out)
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:587 (Connection timed out)
Connection could not be established with host smtp.googlemail.com :stream_socket_client(): unable to connect to tcp://smtp.googlemail.com:587 (Connection timed out)
Connection could not be established with host email-smtp.us-east-2.amazonaws.com [ #0]
connection could not be established with host smtp.gmail.com laravel godaddy
Connection could not be established with host smtp.mailgun.org :stream_socket_client(): unable to connect to tcp://smtp.mailgun.org:587 (Connection refused)
Mailtrap Connection could not be established with host smtp.gmail.com :stream_socket_client():
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to smtp.gmail.com:2525
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to smtp.gmail.com:2525 (Connection timed out)
n could not be established with host smtp.gmail.com :strea
Connection could not be established with host smtp-relay.sendinblue.com [Connection refused #111]
Connection could not be established with host smtp.google.com :stream_socket_client(): unable to connect to ssl://smtp.google.com:465 (Connection timed out)
Connection could not be established with host smtp.googlemail.com [Network is unreachable #101]
Swift_TransportException: Connection could not be established with host smtp.gmail.com
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:25 (Connection timed out)
Connection could not be established with host smtp.hostinger.com :stream_socket_client():
Connection could not be established with host smtp.googlemail.com :stream_socket_client(): unable to connect to smtp.googlemail.com:465 (Connection refused)
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:2525 (Connection timed out)
Connection could not be established with host smtp.gmail.com sendgrid
Connection could not be established with host smtp.mailtrap.io :stream_socket_client(): unable to connect to tcp://smtp.mailtrap.io:2525 (Connection refused)"
Connection could not be established with host smtp.mailtrap.io larave;
Connection could not be established with host smtpout.secureserver.net [Connection refused #111]
Connection could not be established with host smtp.mailtrap.io :stream_socket_client()
onnection could not be established with host smtp.mailtrap.io
Connection could not be established with host smtp.gmail.com in yii
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:25
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:465 (Connection refused)
Connection could not be established with host smtp.mailtrap.io :stream_socket_client(): unable to connect to tcp://smtp.mailtrap.io:2525 (Connection refused)
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465 (Network is unreachable) email Send a test email
Connection could not be established with host smtp.gmail.com [Connection refused #111]
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:585
Connection could not be established with host smtp.office365.com
Connection could not be established with host smtp.hostinger.com :stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:\n
Connection could not be established with host smtp.gmail.com [Network is unreachable #101]
Connection could not be established with host smtp.caretimes.us
Connection could not be established with host smtp.gmail.com :stream_socket_client()
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:587 (Network is unreachable) LARAVEL
laravel Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tsl://smtp.gmail.com:587
Connection could not be established with host smtp.gmail.com :stream_socket_client(): SSL operation failed with code 1
Connection could not be established with host smtp.googlemail.com :stream_socket_client(): unable to connect to ssl://smtp.googlemail.com:465 (Network is unreachable) in laravel
Connection could not be established with host smtp.googlemail.com :stream_socket_client(): unable to connect to ssl://smtp.googlemail.com:465 (Network is unreachable)
Connection could not be established with host smtp.googlemail.com :stream_socket_client(): unable to connect to ssl://smtp.googlemail.com:25 (Network is unreachable) in laravel
Connection could not be established with host smtp-relay.sendinblue.com :stream_socket_client():
Connection could not be established with host smtp-relay.sendinblue.com :stream_socket_client(): unable to connect to tcp://smtp-relay.sendinblue.com:587 (Connection refused)
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:587 (Network is unreachable)
Connection could not be established with host smtp.mailtrap.com
onnection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:587 (Invalid argument)
Connection could not be established with host smtpout.secureserver.net
connection could not be established with host mail
error Connection could not be established with host smtp.hostinger.co.id [ #0]
message: "Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465 (Connection refused)"
message: "Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:587 (Connection refused)"
Connection could not be established with host smtp.gmail.com [Connection timed out #110]"
Connection could not be established with host mail.satyaminfo.in
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:587 (Connection refused)
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465 (Connection refused)
Connection could not be established with host smtp.mailtrap.io
Connection could not be established with host smtp.gmail.com :stream_socket_client():
Connection could not be established with host smtp.mailtrap.io [Operation timed out #60]
Connection could not be established with host smtp.googlemail.com :stream_socket_client(): unable to connect to ssl://smtp.googlemail.com:465
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:2525 (Network is unreachable)
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465 (Network is unreachable)
connection could not be established with host smtp.sendgrid.net
swift_transportexception connection could not be established with host smtp.gmail.com #0
swift_transportexception connection could not be established with host smtp.gmail.com symphony
connection could not be established with host smtp gmail com connection ti med out #110
Connection could not be established with host smtp.gmail.com [Connection timed out #110] in symphony
connection could not be established with host smtp gmail com 0 swiftmailer
Connection could not be established with host smtp.gmail.com [Connection timed out #110]
Connection could not be established with host smtp.hostinger.com in laravel 5.8
Connection could not be established with host localhost :stream_socket_client(): unable to connect to localhost:27
Connection could not be established with host smtp.gmail.com
Connection could not be established with host http://localhost :stream_socket_client(): unable to connect to http://localhost:25 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?)
Connection could not be established with host laravel
Connection could not be established with host mailhog :stream_socket_client():
Connection could not be established with host mailhog
Connection could not be established with host "ssl://sendmail:465"
Connection could not be established with hos
Connection could not be established with host smtp.googlemail.com