- edited description
Add smtp to config
Issue #37
resolved
Add this to the function 'apply_preconfig'
$smtpArr = parse_url($cfg['smtp']);
$record['ident_switch.form.imap.host'] = $urlArr['host'] ? rcube::Q($urlArr['host'], 'url') : '';
$record['ident_switch.form.imap.port'] = $urlArr['port'] ? intval($urlArr['port']) : '';
$record['ident_switch.form.smtp.host'] = $smtpArr['host'] ? rcube::Q($smtpArr['host'], 'url') : '';
$record['ident_switch.form.smtp.port'] = $smtpArr['port'] ? intval($smtpArr['port']) : '';
Comments (2)
-
reporter -
repo owner - changed status to resolved
- Log in to comment