TYPO3
7.6
Users
bogdan
Projects
Kapeli
Resources
Dash
Docsets
TYPO3
src
vendor
swiftmailer
swiftmailer
lib
classes
Swift
SmtpTransport.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
23
class
Swift_SmtpTransport
extends
Swift_Transport_EsmtpTransport
24
{
32
public
function
__construct
($host =
'localhost'
, $port = 25, $security = null)
33
{
34
call_user_func_array(
35
array($this,
'Swift_Transport_EsmtpTransport::__construct'
),
36
Swift_DependencyContainer::getInstance
()
37
->createDependenciesFor(
'transport.smtp'
)
38
);
39
40
$this->
setHost
($host);
41
$this->
setPort
($port);
42
$this->
setEncryption
($security);
43
}
44
54
public
static
function
newInstance
($host =
'localhost'
, $port = 25, $security = null)
55
{
56
return
new
self
($host, $port, $security);
57
}
58
}
Generated on Wed Nov 11 2015 01:52:04 for TYPO3 by
1.8.3