* Issue #248: Add $serendipity['forceBase64']=true option (can be set
in serendipity_config_local.inc.php) to make Serendipity *not* use 8bit Imap functions for sending mail, for MTAs that behave erradically otherwise. References #248
This commit is contained in:
@ -533,7 +533,7 @@ function serendipity_sendMail($to, $subject, $message, $fromMail, $headers = NUL
|
||||
$maildata['headers'][] = 'Auto-Submitted: auto-generated';
|
||||
|
||||
if (LANG_CHARSET == 'UTF-8') {
|
||||
if (function_exists('imap_8bit')) {
|
||||
if (function_exists('imap_8bit') && !$serendipity['forceBase64']) {
|
||||
$maildata['headers'][] = 'Content-Transfer-Encoding: quoted-printable';
|
||||
$maildata['message'] = imap_8bit($maildata['message']);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user