From geeklog-modules-admin at lists.geeklog.net Sun Feb 22 14:44:34 2004 From: geeklog-modules-admin at lists.geeklog.net (geeklog-modules-admin at lists.geeklog.net) Date: Sun, 22 Feb 2004 20:44:34 +0100 Subject: [geeklog-modules] Re: [geeklog-devtalk] Smtp mail in Forums In-Reply-To: <003d01c3f979$59d50e80$0a32a8c0@theth> References: <003d01c3f979$59d50e80$0a32a8c0@theth> Message-ID: <20040222194434.23403@smtp.haun-online.de> Ed, >Since GL now allows $_CONF['mail_settings'] to be authenticated SMTP, and >since forums are basically an integral part of most people's GL installs, >would it not make sense to refer to the $_CONF['mail_settings'] from within >forums for the forum notifications? Ideally, plugins should check for the existence of the COM_mail() function and if exists, use it to send their emails. That function will then send the email according to the settings in config.php. >And perhaps all plugins that involve email (Manual digest, Classifieds, >etc.) could do the same. Manual digest doesn't send emails on its own - it calls Geeklog's daily digest function, which in turn (as of 1.3.9) calls COM_mail(). >Which means that something in the plugin >documentation should be updated to make reference to such a capability in / >reference to config.php. The plugin documentation is ripe for an overhaul anyway. The included documentation is too terse and the Plugin Developer's Guide doesn't even cover the extensions to the plugin API introduced in 1.3.8 yet. Any takers? bye, Dirk (crossposting this to geeklog-modules) -- http://www.haun-online.de/ http://www.tinyweb.de/