[geeklog-modules] Re: [geeklog-devtalk] Smtp mail in Forums

geeklog-modules-admin at lists.geeklog.net geeklog-modules-admin at lists.geeklog.net
Sun Feb 22 14:44:34 EST 2004


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/




More information about the geeklog-modules mailing list