Date: 01/30/07 (PHP Community) Keywords: php, programming, web, hosting Hello everybody, /mysite/roundcubemail/config/main.inc.php and this code.... 171> // path to a text file which will be added to each sent message 172> // paths are relative to the RoundCube root folder 173> $rcmail_config['generic_message_footer'] = ''; File 2 -------> Then, I found this file in directory... /mysite/roundcubemail/program/steps/mail/sendmail.inc and this code... 163> // append generic footer to all messages 164> if (!empty($CONFIG['generic_message_footer'])) 165> { 166> $file = realpath($CONFIG['generic_message_footer']); 167> if($fp = fopen($file, 'r')) 168> { 169> $content = fread($fp, filesize($file)); 170> fclose($fp); 171> $message_body .= "\r\n" . rcube_charset_convert($content, 'UTF-8', $message_charset); 172> } 173> } File 3 -------> Ok, I have created a text file 'footer.txt' and added a new directory '/mysite/roundcubemail/footer/' that now contains my footer-file. The contents of this file is for now... _____________________________________ email footer _____________________________________ I have changed line 173 in file main.inc.php to this ... 173> $rcmail_config['generic_message_footer'] = '../footer/footer.txt'; But alas, the message in the text-file is not added to the email sent. Any advice? Thanks!
|