Changeset 764 in subversion for trunk/roundcubemail/program/steps/mail/sendmail.inc
- Timestamp:
- Aug 30, 2007 3:50:01 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/steps/mail/sendmail.inc
r613 r764 221 221 222 222 // append generic footer to all messages 223 if (!empty($CONFIG['generic_message_footer'])) 224 { 225 $file = realpath($CONFIG['generic_message_footer']); 226 if($fp = fopen($file, 'r')) 227 { 228 $content = fread($fp, filesize($file)); 229 fclose($fp); 230 $message_body .= "\r\n" . rcube_charset_convert($content, 'UTF-8', $message_charset); 231 } 232 } 223 if (!$savedraft && !empty($CONFIG['generic_message_footer']) && ($footer = file_get_contents(realpath($CONFIG['generic_message_footer'])))) 224 $message_body .= "\r\n" . rcube_charset_convert($footer, 'UTF-8', $message_charset); 233 225 234 226 // try to autodetect operating system and use the correct line endings
Note: See TracChangeset
for help on using the changeset viewer.
