TYPO3  7.6
SimpleMailInvoker.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of SwiftMailer.
5  * (c) 2004-2009 Chris Corbyn
6  *
7  * For the full copyright and license information, please view the LICENSE
8  * file that was distributed with this source code.
9  */
10 
17 {
31  public function mail($to, $subject, $body, $headers = null, $extraParams = null)
32  {
33  if (!ini_get('safe_mode')) {
34  return @mail($to, $subject, $body, $headers, $extraParams);
35  } else {
36  return @mail($to, $subject, $body, $headers);
37  }
38  }
39 }