Silent fail sending SMTP email

KodaAtRG

New member
Licensed customer
Affected version
2.3.10
Randomly encountered a problem on the latest XenForo version.

https://xenforo.com/community/threa...ail-option-not-working-sending-emails.221318/

Previous references to the same problem do exist (linked above) but should've been fixed as of XF 2.3.0 Release Candidate 3 XF-220652 but with the latest version (as of today), it is not working.

  • Transporter is \Symfony\Component\Mailer\Transport\Smtp\EsmtpTransport
  • SMTP credentials works on other clients such as Mozilla Thunderbird.
  • Was unable to find any logs, and the test feature gave no success or failure.
  • Attempted both Secure and Non-Secure authentication
  • Quadruple-checked all settings in the ACP
Not sure where to go from here... :/
 
Okay, so after var_dumping literally everything, I learned.

  • cPanel's local mail server randomly made a rule that redirects all SMTP (insecure or secure) to 127.0.0.1 w/ iptables
  • An exception is raised but is suppressed by a try/catch and doesn't tell the admin what's happening.
My problem is solved but it would be nice if some error was shown to the user for any error so they could either reach out to their hosting provider or fix it themselves.
 
Back
Top Bottom