On this page
settings.php
Last updated on
30 April 2025
If needed, add the following settings to the site settings.php.
Mail Line Endings for Outlook
Outlook 2012 and lower doesn't like LF line endings in plaintext by default. It will process the strings without a line-terminator as one sentence.
The module mimemail has a variable (mimemail_crlf) to fix this, but by default is uses Drupal core MAIL_LINE_ENDINGS.
To set the MAIL_LINE_ENDINGS to CR+LF:
$conf['mail_line_endings'] = "\r\n";
Help improve this page
Page status: Not set
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion