phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] [20877] allow to connect without complaining


From: Sigurd Nes
Subject: [Phpgroupware-cvs] [20877] allow to connect without complaining
Date: Sat, 21 Nov 2009 20:17:33 +0000

Revision: 20877
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=20877
Author:   sigurdne
Date:     2009-11-21 20:17:33 +0000 (Sat, 21 Nov 2009)
Log Message:
-----------
allow to connect without complaining

Modified Paths:
--------------
    modules/email/trunk/inc/class.mail_msg_base.inc.php

Modified: modules/email/trunk/inc/class.mail_msg_base.inc.php
===================================================================
--- modules/email/trunk/inc/class.mail_msg_base.inc.php 2009-11-21 20:10:05 UTC 
(rev 20876)
+++ modules/email/trunk/inc/class.mail_msg_base.inc.php 2009-11-21 20:17:33 UTC 
(rev 20877)
@@ -1433,7 +1433,7 @@
                                //@set_time_limit(60);
                                // login to INBOX because we know that 
always(?) should exist on an imap server and pop server
                                // after we are logged in we can get additional 
info that will lead us to the desired folder (if not INBOX)
-                               $mailsvr_stream = 
$GLOBALS['phpgw_dcom_'.$acctnum]->dcom->open($mailsvr_callstr."INBOX", $user, 
$pass, '');
+                               $mailsvr_stream = 
$GLOBALS['phpgw_dcom_'.$acctnum]->dcom->open($mailsvr_callstr."INBOX", $user, 
$pass, 0);
                                $pass = '';
                                
                                if ($this->debug_logins > 1) { 
$this->dbug->out('mail_msg.begin_request('.__LINE__.'): open returns 
$mailsvr_stream = ['.serialize($mailsvr_stream).']<br />'); } 
@@ -1743,7 +1743,7 @@
                                //@set_time_limit(60);
                                if ($this->debug_logins > 1) { 
$this->dbug->out('mail_msg: ensure_stream_and_folder: about to call dcom->open: 
$GLOBALS[phpgw_dcom_'.$acctnum.']->dcom->open('.$mailsvr_callstr."INBOX".', 
'.$user.', '.$pass.', )'.'<br />'); }
                                if ($this->debug_logins > 0) { 
$this->dbug->out('mail_msg: ensure_stream_and_folder('.__LINE__.'): <font 
color="red">MAIL SERVER COMMAND</font>'.'<br />'); } 
-                               $mailsvr_stream = 
$GLOBALS['phpgw_dcom_'.$acctnum]->dcom->open($mailsvr_callstr."INBOX", $user, 
$pass, '');
+                               $mailsvr_stream = 
$GLOBALS['phpgw_dcom_'.$acctnum]->dcom->open($mailsvr_callstr."INBOX", $user, 
$pass, 0);
                                $pass = '';
                                //@set_time_limit(0);
                                if ($this->debug_logins > 1) { 
$this->dbug->out('mail_msg: ensure_stream_and_folder: open returns 
$mailsvr_stream = ['.serialize($mailsvr_stream).']<br />'); } 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]