Is it a typo that you have two @ in the from address?
Sep 5, 2022
23
Level 6
Symfony Mailer Issue After Upgrade
Exception:
using 465 and encryption=tls
Connection could not be established with host "ssl://imap.worldposta.com:465": stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:1408F10B:SSL routines:ssl3_get_record:wrong version number
using 2526 and encryption=null
Connection could not be established with host "imap.worldposta.com:2526": stream_socket_client(): Unable to connect to imap.worldposta.com:2526 (Connection refused)
the two combinations were recommended by the worldposta company
About App:
Laravel Version: 9.23.0
Php Version: 8.1.9
ENV Configuration:
MAIL_MAILER=smtp
MAIL_HOST=imap.worldposta.com
MAIL_PORT=2526
[email protected]
MAIL_PASSWORD=*******
MAIL_ENCRYPTION=
MAIL_FROM_NAME="Company Name"
[email protected]
Here is the issue ,the mailing is working fine onlocalhost but not in production.
this first happened when i upgraded Laravel 8 to 9 i've tried a lot of combinations and options like adding the next few lines in the mail config file
<?php
return [
....
'allow_self_signed' => true,
'verify_peer' => false,
'verify_peer_name' => false,
]
Please or to participate in this conversation.