Auto-detect appropriate line endings for e-mails.

$settings['mail_line_endings'] will override this setting.

File

core/includes/mail.inc, line 12
API functions for processing and sending e-mail.

Code

define('MAIL_LINE_ENDINGS', isset($_SERVER['WINDIR']) || (isset($_SERVER['SERVER_SOFTWARE']) && strpos($_SERVER['SERVER_SOFTWARE'], 'Win32') !== FALSE) ? "\r\n" : "\n")