[RCD] [PATCH] plugin hook for adding SASL mechanisms for SMTP

Emmanuel Dreyfus manu at netbsd.org
Fri May 20 03:34:41 CEST 2011


Until now the only SASL mechanisms that were available for SMTP
authentication were the one Net-SMTP provided. I just had a patch
accepted in Net-SMTP SVN so that new mechanisms can be added on the fly.
One do this by calling the new method:

        $conn->setAuthMethod('METHOD_NAME', array($object, $method));

or, without using object programming:

        $conn->setAuthMethod('METHOD_NAME', $callback);

In order to use that in RouncCube, we need a new hook so that plugins
have the opportunity to register their method using

Here is the patch that does just that:

Emmanuel Dreyfus
manu at netbsd.org
List info: http://lists.roundcube.net/dev/

More information about the Dev mailing list