Project

General

Profile

Bug #35587 » 35587_typo3.diff

/typo3/ part - Christoph Buchli, 2012-04-03 09:47

View differences:

typo3/contrib/swiftmailer/classes/Swift/Transport/SimpleMailInvoker.php (working copy)
*/
public function mail($to, $subject, $body, $headers = null, $extraParams = null)
{
// Prevent message from breaking by SMTP-syntaxed End of Mail: "\n.\n".
$body = preg_replace('/^\.$/m','. ',$body);
if (!ini_get('safe_mode'))
{
return mail($to, $subject, $body, $headers, $extraParams);
(2-2/2)