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

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


Hello

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
Net_SMTP::setAuthMethod()

Here is the patch that does just that:
http://ftp.espci.fr/shadow/manu/rcube.diff

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu at netbsd.org
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80



More information about the Dev mailing list