commit ba97f7b33a300230d5963f32ff5dd86dbf4788e2 parent 8a51e69657dc5e8fb189a096e6ac4457b7bb44c8 Author: dankert <devnull@localhost> Date: Sat, 17 Feb 2007 11:44:41 +0100 Priorit?t und Zeichensatz erg?nzt. Diffstat:
serviceClasses/Mail.class.php | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/serviceClasses/Mail.class.php b/serviceClasses/Mail.class.php @@ -25,7 +25,12 @@ class Mail if ( !empty($conf['mail']['from']) ) $this->from = $conf['mail']['from']; + // Priorität definieren (sofern konfiguriert) + if ( !empty($conf['mail']['priority']) ) + $this->header[] = 'X-Priority: '.$conf['mail']['priority']; + $this->header[] = 'X-Mailer: '.OR_TITLE.' '.OR_VERSION; + $this->header[] = 'Content-Type: text/plain; charset='.lang( 'CHARSET' ); $this->subject = lang( 'mail_subject_'.$text ); $this->to = $to;