Changeset 72cd3c1 in github
- Timestamp:
- Jul 7, 2009 4:36:42 AM (4 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- b6b5934
- Parents:
- 16036b9
- Files:
-
- 4 edited
-
CHANGELOG (modified) (1 diff)
-
config/main.inc.php.dist (modified) (1 diff)
-
program/include/rcube_smtp.inc (modified) (1 diff)
-
program/lib/imap.inc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CHANGELOG
r2818f8e r72cd3c1 2 2 =========================== 3 3 4 - Support %h variable in 'smtp_server' option (#1485766) 4 5 - Show SMTP errors in browser (#1485927) 5 6 - Allow WBR tag in HTML message (#1485960) -
config/main.inc.php.dist
re48a10a r72cd3c1 99 99 // to use SSL connection, set ssl://smtp.host.com 100 100 // if left blank, the PHP mail() function is used 101 // Use %h variable as replacement for user's IMAP hostname 101 102 $rcmail_config['smtp_server'] = ''; 102 103 -
program/include/rcube_smtp.inc
r2818f8e r72cd3c1 65 65 66 66 $smtp_timeout = null; 67 $smtp_host = $CONFIG['smtp_server'];67 $smtp_host = str_replace('%h', $_SESSION['imap_host'], $CONFIG['smtp_server']); 68 68 $smtp_port = is_numeric($CONFIG['smtp_port']) ? $CONFIG['smtp_port'] : 25; 69 $smtp_host_url = parse_url($ CONFIG['smtp_server']);70 69 $smtp_host_url = parse_url($smtp_host); 70 71 71 // overwrite port 72 72 if (isset($smtp_host_url['host']) && isset($smtp_host_url['port'])) -
program/lib/imap.inc
r11b80e9 r72cd3c1 261 261 262 262 $line = $a[1][0] . '"' . ($escape ? iil_Escape($out) : $out) . '"'; 263 // console('[...] '. $out);264 263 } 265 264 return $line; … … 270 269 $len = 0; 271 270 do { 272 $data .= fread($fp, $bytes-$len); 271 $d = fread($fp, $bytes-$len); 272 $data .= $d; 273 273 if ($len == strlen($data)) { 274 274 break; //nothing was read -> exit to avoid apache lockups 275 275 } 276 // console('[...] '. $d); 276 277 $len = strlen($data); 277 278 } while ($len < $bytes);
Note: See TracChangeset
for help on using the changeset viewer.
