TYPO3
7.6
Users
bogdan
Projects
Kapeli
Resources
Dash
Docsets
TYPO3
src
vendor
swiftmailer
swiftmailer
lib
classes
Swift
Transport
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
16
class
Swift_Transport_SimpleMailInvoker
implements
Swift_Transport_MailInvoker
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
}
Generated on Wed Nov 11 2015 01:52:04 for TYPO3 by
1.8.3