Just did full install of 0.2.1.
I previously had 0.2a working. After creating a new database and full install of 0.2.1, I get the following error when attempting to send a new message via RoundCube:
[13-Mar-2009 10:36:41] PHP Warning: mail() [<a href='function.mail'>function.mail</a>]: SMTP server response: 501 Syntax error in parameters in C:\folder\program\steps\mail\func.inc on line 1315
Here is the code in 'func.inc':
if (ini_get('safe_mode'))
$sent = mail($headers_enc['To'], $headers_enc['Subject'], $msg_body, $header_str);
else
$sent = mail($headers_enc['To'], $headers_enc['Subject'], $msg_body, $header_str, "-f$from");
}
Anyone have any ideas? The code in the previous version's 'func.inc' is the same. My 'main.inc.php' files (old & new) seem to have the same settings.
i have same problem..ca anybody guide us?.
Try SVN trunk. There was a fix regarding php mail on windows.
/trunk/roundcubemail/CHANGELOG ? RoundCube Webmail (http://trac.roundcube.net/browser/trunk/roundcubemail/CHANGELOG)
http://trac.roundcube.net/ticket/1485779
Sounds like your problem ...
My apologies 0:)
I forgot to post the URL to the ticket I opened.
The URL rosali included in the previous post should solve the issue if you are on a Windows Server.
Here's all you do:
- Open file '../program/step/mail/func.inc'
- Add the code as specified here (http://trac.roundcube.net/attachment/ticket/1485779/func.diff).
i've try the script...bt still got error....
-----------------------------------------
[27-Apr-2009 16:01:06] PHP Warning: mail() [
function.mail]: SMTP server response: 550 The address is not valid. in C:\wamp\www\mail\program\steps\mail\func.inc on line 1322
-----------------------------------------------------
anybody can gudie me
rosali ,,,, any idea on this matter>?:o
Why do you use php mail()? Don't you have access to a smtp server?