Carlos Mennens wrote:

> // use this host for sending mails.
> // to use SSL connection, set ssl://smtp.host.com
> // if left blank, the PHP mail() function is used
> // Use %h variable as replacement for user's IMAP hostname
> $rcmail_config['smtp_server'] = 'tls://mail.mydomain.tld';
> 
> // SMTP port (default is 25; 465 for SSL)
> $rcmail_config['smtp_port'] = 25;

> The above doesn't work for SMTP with TLS. Anyone know how I can
> correctly get TLS working with SMTP? It works great with IMAP but I
> have to remove the 'tls://' from SMTP and then I am able to send email
> successfully...but w/o TLS.

In 0.3.1 TLS for SMTP is used by default (if server supports it) and 
tls:// prefix doesn't work at all. In current svn-trunk version you must 
use tls:// prefix to force TLS.

-- 
Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
LAN Management System Developer http://lms.org.pl
Roundcube Webmail Developer http://roundcube.net
_______________________________________________
List info: http://lists.roundcube.net/users/

Reply via email to