The current mailhandler setup works for most cases, but over the years we have encountered issues with several email systems where emails would fail to send.
As email is a fairly important component of the system, making use of a well tested and highly capable third party library used by many other software projects should help aleviate some of the issues we've sene in the past and take some pressure of maintaining the mail transport mechanisms off the team.
SwiftMailer is just such a library and is used in a wide variety of frameworks and applications. It should be fairly easy to integrate with the MyBB core since all emails are sent through the my_mail funciton, meaning we should eb able to modify a single function to get things working.
The text was updated successfully, but these errors were encountered:
One note regarding SwiftMailer is that it provides two transports out of the box:
It doesn't support using the PHP mail() function at all, though the two transports above should be enough for most cases. The PHP mail() function is generally advised against using de to many issues with it, mostly security related to escaping shell arguments when it is configured to use sendmail.