XOOPS RMCommon Utilities
2.1.8.91RC
Main Page
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
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
11
//@require 'Swift/Transport/EsmtpTransport.php';
12
//@require 'Swift/DependencyContainer.php';
13
20
class
Swift_SmtpTransport
extends
Swift_Transport_EsmtpTransport
21
{
22
29
public
function
__construct
($host =
'localhost'
, $port = 25,
30
$security
= null)
31
{
32
call_user_func_array(
33
array($this,
'Swift_Transport_EsmtpTransport::__construct'
),
34
Swift_DependencyContainer::getInstance
()
35
->createDependenciesFor(
'transport.smtp'
)
36
);
37
38
$this->
setHost
($host);
39
$this->
setPort
($port);
40
$this->
setEncryption
(
$security
);
41
}
42
50
public
static
function
newInstance
($host =
'localhost'
, $port = 25,
51
$security
= null)
52
{
53
return
new
self
($host, $port,
$security
);
54
}
55
56
}
L:
XOOPS_Allure
SVN_XOOPS2
RMC
rmcommon
trunk
rmcommon
class
swift
classes
Swift
SmtpTransport.php
Generated on Sun Mar 17 2013 20:41:06 for XOOPS RMCommon Utilities by
1.8.3.1