Hi,
I want to append a text to all messages sent from RC, like yahoo or others webmails.
I tryed the following but without succes, can anyone help me... i think that my solution is good, but does not work, and i don't know why.
I modified the file roundcubemail/program/steps/mail/sendmail.inc, and just before the following comment: // create PEAR::Mail_mime instance
i add these lines.
$file = realpath("../../../config/msg_footer.txt"); if(file_exists($file)) { $handle = fopen($file, "r"); $content = fread($handle, filesize($file)); fclose($handle); $_POST['_message'] = $_POST['_message'] . "\n" . $content; }
of course, the file ../../../config/msg_footer.txt exists.
I need help.
Regards. Jose