I am having trouble getting the accounts plugin to work with Gmail. It is able to log in and read the folders and messages just fine.
The problem is sending. I have this setting
$rcmail_config['accounts_smtp_default'] = false;
I was hoping that it would authenticate with Gmail's SMTP server and send thru it but it gives me "SMTP Error (-1): Authentication failed" every time.
I could send thru the default or local SMTP server however this won't work if sending to other gmail users because gmail will know it wasn't sent via gmail and will reject it as spam.
Is there any way to get the authentication to work properly for sending via gmail?
Here is my configuration.
/*accounts plugin */
// navigation config (requires plugin settings @website http://myroundcube.googlecode.com)
$rcmail_config['settingsnav'][] = array('part' => '', 'locale' => 'settings.accounts', 'href' => './?_task=settings&_action=plugin.accounts&_framed=1', 'onclick' => '', 'descr' =
/* database table name */
$rcmail_config['db_table_accounts'] = 'accounts';
/* allowed hosts ::: array() = all */
$rcmail_config['accounts_hosts'] = array(
"Delta" => "localhost",
"Google Mail" => "ssl://imap.gmail.com:993"
);
/* always use default smtp server */
$rcmail_config['accounts_smtp_default'] = false;
/* imap_open flag (http://php.net/manual/en/function.imap-open.php) */
$rcmail_config['imap_open_flag'] = 'novalidate-cert';