diff options
Diffstat (limited to 'inc/Mailer.class.php')
-rw-r--r-- | inc/Mailer.class.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/inc/Mailer.class.php b/inc/Mailer.class.php index 9cfa9128f..9be2d6cf8 100644 --- a/inc/Mailer.class.php +++ b/inc/Mailer.class.php @@ -11,9 +11,10 @@ use dokuwiki\Extension\Event; -// end of line for mail lines - RFC822 says CRLF but postfix (and other MTAs?) -// think different -if(!defined('MAILHEADER_EOL')) define('MAILHEADER_EOL', "\n"); +// inc/mail.php should have been included at this point to define MAILHEADER_EOL. +// Make sure that is the case: +require_once(DOKU_INC.'inc/mail.php'); + #define('MAILHEADER_ASCIIONLY',1); /** |