Hello
Please consider this patch, which allow plugins to add SASL mechanisms
--- ./program/include/rcube_smtp.php.orig 2012-12-24 10:06:32.000000000 +0100 +++ ./program/include/rcube_smtp.php 2012-12-24 10:07:34.000000000 +0100 @@ -113,4 +113,19 @@ $this->conn->setDebug(true, array($this, 'debug_handler'));
'conn' => $this->conn,
$this->response[] = "Authentication setup failed: ".$result->getMessage();
$this->error = array('label' => 'smtpconnerror', 'vars' => array('code' => $this->conn->_code));
$this->conn = null;
return false;
On 12/25/2012 11:08 AM, Emmanuel Dreyfus wrote:
Hello
Please consider this patch, which allow plugins to add SASL mechanisms
// register authentication methods if (!empty($CONFIG['smtp_auth_callbacks']) && method_exists($this->conn, 'setAuthMethod')) {
I suppose you can just use smtp_auth_callbacks argument of smtp_connect hook.