Author Topic: Failed to send message-Multiple addresses  (Read 3246 times)

Offline mytechassistant

  • Newbie
  • *
  • Posts: 3
Failed to send message-Multiple addresses
« 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?

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Failed to send message-Multiple addresses
« Reply #1 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';
Regards,
Rosali
__________________
MyRoundcube Project (commercial)