Roundcube Community Forum

Release Support => Pending Issues => Topic started by: mytechassistant on June 11, 2009, 11:11:43 AM

Title: Failed to send message-Multiple addresses
Post by: mytechassistant on June 11, 2009, 11:11:43 AM
So everything was working great! Love the interface, the performance, the stability, but then I hit a road block!

Whenever I attempt to send a message with multiple addresses from my address book I get the Failed to send message error. Looking at the logs they tell me this:

11-Jun-2009 09:56:59] PHP Warning:  mail(): Bad parameters to mail() function, mail not sent. in /hsphere/local/home/bop1994/mytechassistant.com/mail/program/steps/mail/func.inc on line 1322

My addresses auto-expand to this format from my address book:
"Steve @ MTA" , "Steve @ Blacks" ,

When I remove the quotes and the brackets the message sends fine, but why does address book support the format if I can't send mail this way?

Any recommendations?
Title: Failed to send message-Multiple addresses
Post by: rosali on June 12, 2009, 01:08:54 AM
It looks like you set it to use PHP mail() function to send out mails. Can't you use a real SMTP server for this job?

./config/main.inc.php

// use this host for sending mails.
// to use SSL connection, set ssl://smtp.host.com
// if left blank, the PHP mail() function is used
$rcmail_config['smtp_server'] = 'localhost';