Changeset 80fbdaa in github
- Timestamp:
- Aug 14, 2009 4:24:09 AM (4 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 4a941f7
- Parents:
- dc1dbc4
- File:
-
- 1 edited
-
program/include/rcube_imap.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
program/include/rcube_imap.php
r2a34eb9 r80fbdaa 37 37 * @package Mail 38 38 * @author Thomas Bruederli <roundcube@gmail.com> 39 * @version 1. 4039 * @version 1.5 40 40 * @link http://ilohamail.org 41 41 */ … … 108 108 'message' => 'Open SSL not available;'), TRUE, FALSE); 109 109 $port = 143; 110 }110 } 111 111 112 112 $ICL_PORT = $port; 113 113 $IMAP_USE_INTERNAL_DATE = false; 114 114 115 $data = rcmail::get_instance()->plugins->exec_hook('imap_connect', array('host' => $host, 'user' => $user)); 116 if (!empty($data['pass'])) 117 $pass = $data['pass']; 118 119 $this->conn = iil_Connect($data['host'], $data['user'], $pass, $this->options); 115 $attempt = 0; 116 do { 117 $data = rcmail::get_instance()->plugins->exec_hook('imap_connect', array('host' => $host, 'user' => $user, 'attempt' => ++$attempt)); 118 if (!empty($data['pass'])) 119 $pass = $data['pass']; 120 121 $this->conn = iil_Connect($data['host'], $data['user'], $pass, $this->options); 122 } while(!$this->conn && $data['retry']); 123 120 124 $this->host = $data['host']; 121 125 $this->user = $data['user'];
Note: See TracChangeset
for help on using the changeset viewer.
