Encode outgoing attachments that have lines longer than allowed per RFC. Otherwise...
[squirrelmail.git] / class / deliver / Deliver_SMTP.class.php
index 5ac04372047de524ff5a7872807e8230ec9b613b..d2458729182c6ac03250ccbbcc534529c6dba94a 100644 (file)
@@ -62,11 +62,11 @@ class Deliver_SMTP extends Deliver {
         }
     }
 
-    function initStream($message, $domain, $length=0, $host='', $port='', $user='', $pass='', $authpop=false) {
+    function initStream($message, $domain, $length=0, $host='', $port='', $user='', $pass='', $authpop=false, $pop_host='') {
         global $use_smtp_tls,$smtp_auth_mech;
 
         if ($authpop) {
-            $this->authPop($host, '', $user, $pass);
+            $this->authPop($pop_host, '', $user, $pass);
         }
 
         $rfc822_header = $message->rfc822_header;