Hello,


I ran into some trouble when trying to make RoundCube work with the mail() 
function : when PHP is set to run in Safe Mode, the mail() function won't 
accept the 5th parameter.



I think that this 5th parameter is not mandatory so I removed it 
(program/steps/mail/sendmail.inc, line 199) and it's now perfectly working.



Before :



$sent = mail($mailto, $msg_subject, $msg_body, $header_str, "-f$from");



Now : 



$sent = mail($mailto, $msg_subject, $msg_body, $header_str);



I thought it could be helpful to someone so I wanted to tell the mailing list 
about that.



David




Reply via email to