You are here

constant MAIL_LINE_ENDINGS in Mail System 6.2

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

Auto-detect appropriate line endings for e-mails.

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

6 uses of MAIL_LINE_ENDINGS
DefaultMailSystem::format in ./mailsystem.module
Concatenate and wrap the e-mail body for plain-text mails.
DefaultMailSystem::mail in ./mailsystem.module
Send an e-mail message, using Drupal variables and default settings.
mailsystem_html_to_text in ./html_to_text.inc
Transform an HTML string into plain text, preserving the structure of the markup. Useful for preparing the body of a node to be sent by e-mail.
mailsystem_wrap_mail in ./html_to_text.inc
Perform format=flowed soft wrapping for mail (RFC 3676).
_mailsystem_html_to_text in ./html_to_text.inc
Helper function for drupal_html_to_text().

... See full list

File

./mailsystem.module, line 392
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");