Quote from: ConseilsWeb at Jun 25, 2007, 01:21 PM
I’ve been thinking of developing some kind of module/class around SwiftMailer but because of the upcoming changes with 0.9.7 (modules are out), I’m just waiting to see where we’re all going with this. It would indeed be a great idea to be able to configure SMTP infos from the MODx back-end and then provide basic mailing capabilities for everyone.
For now you can certainly add custom system_settings that will be available in $modx->config and quickly create a module for managing those settings; modules will still work on 0.9.7 BTW, there will just be new options for customizing the MODx manager intefaces.
I’ll work on a class/API within MODx 0.9.7 for utilizing whatever method, library, or extension you prefer, and will include a default library that supports SMTP. This can serve as a wrapper for mail(), SwiftMailer, PHPMailer, etc. and provide a consistent and convenient way for component authors to utilize the core mail configuration.