X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=class%2Fdeliver%2FDeliver.class.php;h=88b99f636da56eafefe46368ce6ee71792546a9b;hp=b4244307422c119a4e46d45ec80a5d381f71436c;hb=3f55fe04a3f2093e0dc89b83fb3b3c42b16000cd;hpb=1977ab5587905d225c6288141b82f7a6e3d29d02 diff --git a/class/deliver/Deliver.class.php b/class/deliver/Deliver.class.php index b4244307..88b99f63 100644 --- a/class/deliver/Deliver.class.php +++ b/class/deliver/Deliver.class.php @@ -7,7 +7,7 @@ * a delivery backend. * * @author Marc Groot Koerkamp - * @copyright 1999-2010 The SquirrelMail Project Team + * @copyright 1999-2012 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail @@ -437,16 +437,26 @@ class Deliver { * * This function is not yet implemented. * Reserved for extended functionality. + * UPDATE: It is implemented in Deliver_SMTP and Deliver_SendMail classes, + * but it remains unimplemented in this base class (and thus not + * in Deliver_IMAP or other child classes that don't define it) + * + * NOTE: some parameters are specific to the child class + * that is implementing this method * * @param Message $message Message object + * @param string $domain + * @param integer $length * @param string $host host name or IP to connect to + * @param integer $port * @param string $user username to log into the SMTP server with * @param string $pass password to log into the SMTP server with - * @param integer $length + * @param boolean $authpop whether or not to use POP-before-SMTP authorization + * @param string $pop_host host name or IP to connect to for POP-before-SMTP authorization * * @return handle $stream file handle resource to SMTP stream */ - function initStream($message, $length=0, $host='', $port='', $user='', $pass='') { + function initStream($message, $domain, $length=0, $host='', $port='', $user='', $pass='', $authpop=false, $pop_host='') { return $stream; }