[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-tracker] [ 100934 ] Bug and fix for email pop error
From: |
nobody |
Subject: |
[Phpgroupware-tracker] [ 100934 ] Bug and fix for email pop error |
Date: |
Tue, 21 May 2002 08:30:33 -0400 |
Support Request #100934, was updated on 2002-May-21 12:30
You can respond by visiting:
http://savannah.gnu.org/support/?func=detailsupport&support_id=100934&group_id=509
Category: Bug Report
Status: Open
Priority: 5
Summary: Bug and fix for email pop error
By: david_delon
Date: 2002-May-21 12:30
Message:
Logged In: YES
user_id=5642
Browser: Mozilla/4.75 [en] (Win98; U)
Hi,
In application email, phpgroupware version 0_9_14,
there is a problem
with the default port for mail retrieval.
If a user has not selected a mail server type in his
email preference
(pop3, imap, imaps ...) the default port for email
server is 143 even
if another server type is selected in general email
configuration.
Here is a quick fix :
in email/inc/class.mail_msg_base.inc.php :
function get_mailsvr_callstr($acctnum='')
....
// determine the Mail Server Call String
// construct the email server call string from
the
// opening bracket "{" to the closing bracket
"}"
switch($this->get_pref_value('mail_server_type',
$acctnum))
{
case 'imaps': // IMAP over SSL
$extra =
'/imap/ssl/novalidate-cert';
//$extra =
'/imap/ssl/novalidate-cert';
$defport=993;
break;
case 'pop3s': // POP3 over SSL
$extra =
'/pop3/ssl/novalidate-cert';
//$extra = '/pop3/ssl';
$defport=995;
break;
case 'pop3': // POP3 normal
connection, No SSL
$extra = '/pop3';
$defport=110;
break;
case 'imap': // IMAP normal
connection, No SSL
default: //
UNKNOW SERVER type
$extra = '';
$defport=143;
break;
}
if
(@!$this->get_pref_value('mail_server_type', $acctnum))
{
$finalport=$this->get_pref_value('mail_server_type',
$acctnum);
}
else {
$finalport=$defport;
}
$server_call = '{' .$mail_server .':'
.$finalport . $extra . '}';
----------------------------------------------------------------------
You can respond by visiting:
http://savannah.gnu.org/support/?func=detailsupport&support_id=100934&group_id=509
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-tracker] [ 100934 ] Bug and fix for email pop error,
nobody <=