diff options
Diffstat (limited to 'includes/mail.inc')
-rw-r--r-- | includes/mail.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/includes/mail.inc b/includes/mail.inc index 4b3706188..92de9bf6d 100644 --- a/includes/mail.inc +++ b/includes/mail.inc @@ -7,6 +7,12 @@ */ /** + * Auto-detect appropriate line endings for e-mails. + * $conf['mail_line_endings'] will override this setting. + */ +define('MAIL_LINE_ENDINGS', isset($_SERVER['WINDIR']) || strpos($_SERVER['SERVER_SOFTWARE'], 'Win32') !== FALSE ? "\r\n" : "\n"); + +/** * Compose and optionally send an e-mail message. * * Sending an e-mail works with defining an e-mail template (subject, text |