till wrote:
tls://localhost:25 ?
This will not work with Net_SMTP package. Maybe we should prevent this.
$rcmail_config['smtp_server'] = 'host'; $rcmail_config['smtp_port'] = 25;
If server requires TLS then it's enabled. Currently in Net_SMTP package there's no option to force TLS skipping.
$rcmail_config['smtp_server'] = 'ssl://host'; $rcmail_config['smtp_port'] = 465;
Port 25 is for plain SMTP, for SSL most often port 465 (or 587) is used.