Opened 2 years ago

Closed 18 months ago

#1487937 closed Feature Patches (fixed)

plugin hook for adding SASL mechanisms for SMTP

Reported by: manu0529 Owned by:
Priority: 5 Milestone: 0.8-beta
Component: SMTP connection Version: git-master
Severity: normal Keywords:
Cc:

Description

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

Attachments (1)

rcube.diff (924 bytes) - added by manu0529 2 years ago.

Download all attachments as: .zip

Change History (2)

Changed 2 years ago by manu0529

comment:1 Changed 18 months ago by alec

  • Milestone changed from later to 0.8-beta
  • Resolution set to fixed
  • Status changed from new to closed

Extended smtp_connect hook in [3875eb68].

Note: See TracTickets for help on using tickets.