constant MAIL_LINE_ENDINGS

Auto-detect appropriate line endings for e-mails.

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

File

includes/mail.inc, line 13
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")

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!mail.inc/constant/MAIL_LINE_ENDINGS/7.x