Changeset 2717 in subversion
- Timestamp:
- Jul 7, 2009 4:36:42 AM (4 years ago)
- Location:
- trunk/roundcubemail
- 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
-
trunk/roundcubemail/CHANGELOG
r2713 r2717 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) -
trunk/roundcubemail/config/main.inc.php.dist
r2696 r2717 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 -
trunk/roundcubemail/program/include/rcube_smtp.inc
r2713 r2717 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'])) -
trunk/roundcubemail/program/lib/imap.inc
r2671 r2717 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.
