XF 2.3 Email errors I could use some assistance with. No email is being sent.

louisl

Member
We are using the forums internally (intranet) running on a Windows server/ AD Domain. Unfortunately, I don't have access any servers outside of the one XenForo in running on. I can however have the infrastructure team update/or correct the issue if I know where to make the change. I'm fine with using anyone option SMTP/PHP.

Initially all worked well using SMTP, but now I get this message after upgrading to V2.3.4

Using SMTP I add the server a smtp.MYDOMAIN.com and port 25; however now I'm getting this error:

Symfony\Component\Mailer\Exception\TransportException: Email to me@MYDOMAIN.com from Admin@MYDOMAIN.com failed: Unable to connect with STARTTLS: stream_socket_enable_crypto(): Peer certificate CN=`WEBMAIL.MYDOMAIN.COM' did not match expected CN=`smtp.MYDOAMIN.com' src\vendor\symfony\mailer\Transport\Smtp\Stream\SocketStream.php:171

I decided to test PHP built-in mail system, and I get this:

Symfony\Component\Mailer\Exception\TransportException: Email to me@MYDOMAIN.com from Admin@MYDOMAIN.com failed: Connection could not be established with host "localhost:25": stream_socket_client(): Unable to connect to localhost:25 (No connection could be made because the target machine actively refused it) src\vendor\symfony\mailer\Transport\Smtp\Stream\SocketStream.php:154

Thanks in advance for any tips on TS and getting this working once again.
 
Yes, I did notice that, but also tried using webmail.mydomain.com instead of SMTP; with no luck. If I may, but why wouldn't the PHP mail work if I did not select SMTP. IS there I way I can add/edit a setting to match?
 
Still have issue with no emails being sent. Since Im inside a corportae network is there an option to disable SSL check or accept all certificates? Our Exchange admin mentioned all on his end is correct and curious if we can update a setting in XenForo.
 
You might try enabling/disabling the TLS option and different port combinations, but STARTTLS cannot be disabled and will be used if the mail server advertises support for it.
 
Back
Top Bottom