Encountered a 500 internal server error while posting, but the discussion actually went out!
It's annoying. Because of the low reach rate of the mail server, I chose to delete the email in the administration, and then it still tries to send the email????
Post some information here like what you expected to see, but got instead. If you can find any logs in /storage/logs
or in your browser console that relate to the issue, add them.
Flarum information
500 Internal Server Error
POST https://whxcjm.fun/bbs/api/discussions
Swift_TransportException: Expected response code 220 but got an empty response in /var/www/html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php:447
Stack trace:
#0 /var/www/html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(360): Swift_Transport_AbstractSmtpTransport->assertResponseCode()
#1 /var/www/html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(147): Swift_Transport_AbstractSmtpTransport->readGreeting()
#2 /var/www/html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/SendmailTransport.php(50): Swift_Transport_AbstractSmtpTransport->start()
#3 /var/www/html/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php(65): Swift_Transport_SendmailTransport->start()
#4 /var/www/html/vendor/illuminate/mail/Mailer.php(521): Swift_Mailer->send()