Closed kurim closed 4 years ago
IMAP is for receiving emails so it's useless in the context of sending emails, which is all mangapie does.
If you want TLS or STARTTLS try setting MAIL_ENCRYPTION
in your .env file to tls
or starttls
.
If that doesn't work then try setting MAIL_DRIVER
to sendmail
but you'll need the sendmail binary.
Remember to php artisan config:cache
if you make changes.
yes your right it was to late yesterday, my bad I mean stmp and 465 is smtp, I will try it with MAIL_ENCRYPTION
MAIL_ENCRYPTION -> was set to TLS will try starttls (server supports both)
Ah okay. I believe both the smtp
and sendmail
drivers support TLS and STARTTLS.
The connection being timed out makes me think the service isn't running or behind a firewall.
TLS shows in mail Server log this:
connect from xxxxxx.de SSL_accept error from xxxxxx.de: lost connection lost connection after CONNECT from xxxxxx.de
starttls also not work ends in:
Connection could not be established with host xxxxxx.de :stream_socket_client(): unable to connect to starttls://xxxxxx.de:465 (Unable to find the socket transport "starttls" - did you forget to enable it when you configured PHP?)
sendmail
Expected response code 220 but got an empty response
test connection with openssl works fine: openssl s_client -connect xxxxxx:587 -starttls smtp openssl s_client -connect xxxxxx:465
Does mail notification support TLS or STARTTLS for IMAP?
In AbstractSmtpTransport.php line 473: Connection to tcp://xxxxxxx:465 Timed Out
In StreamBuffer.php line 166: Connection to tcp://xxxxxxx:465 Timed Out