Bug #35587 » 35587_typo3.diff
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);
|
- « Previous
- 1
- 2
- Next »