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

Emmanuel Dreyfus manu at netbsd.org
Thu May 26 05:52:22 CEST 2011


Hello everybody

I got no feedback for this very simple patch. Any chance it gets acccepted?
http://ftp.espci.fr/shadow/manu/rcube.diff

On Fri, May 20, 2011 at 03:34:41AM +0200, Emmanuel Dreyfus wrote:
> 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/1b007b91

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



More information about the Dev mailing list