Auto-detect appropriate line endings for emails.

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

File

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

Code

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