Fix default IMAP port configuration (#1486864)

release-0.6
thomascube 14 years ago
parent f0ac2b9937
commit 904809459d

@ -1,6 +1,8 @@
CHANGELOG RoundCube Webmail CHANGELOG RoundCube Webmail
=========================== ===========================
- Fix default IMAP port configuration (#1486864)
- Create Sent folder when starting to compose a new message (#1486802)
- Fix handling of messages with Content-Type: application/* and no filename (#1484050) - Fix handling of messages with Content-Type: application/* and no filename (#1484050)
- Improved compose screen: resizable body and attachments list, vertical splitter, options menu - Improved compose screen: resizable body and attachments list, vertical splitter, options menu
- Fix RC forgets search results (#1483883) - Fix RC forgets search results (#1483883)

@ -585,7 +585,7 @@ class rcmail
$imap_ssl = (isset($a_host['scheme']) && in_array($a_host['scheme'], array('ssl','imaps','tls'))) ? $a_host['scheme'] : null; $imap_ssl = (isset($a_host['scheme']) && in_array($a_host['scheme'], array('ssl','imaps','tls'))) ? $a_host['scheme'] : null;
if(!empty($a_host['port'])) if(!empty($a_host['port']))
$imap_port = $a_host['port']; $imap_port = $a_host['port'];
else if ($imap_ssl && $imap_ssl != 'tls') else if ($imap_ssl && $imap_ssl != 'tls' && (!$config['default_port'] || $config['default_port'] == 143))
$imap_port = 993; $imap_port = 993;
} }

Loading…
Cancel
Save