You are here

constant MAIL_LINE_ENDINGS in Mail System 6

Same name and namespace in other branches
  1. 6.2 mailsystem.module \MAIL_LINE_ENDINGS

Auto-detect appropriate line endings for e-mails.

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

1 use of MAIL_LINE_ENDINGS
DefaultMailSystem::mail in ./mailsystem.module
Send an e-mail message, using Drupal variables and default settings.

File

./mailsystem.module, line 150
Provide UI for controlling the mail_system variable.

Code

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