PHP Class Swift_SmtpTransport, Halite

Author: Chris Corbyn
Inheritance: extends Swift_Transport_EsmtpTransport
Show file Open project: HaliteChallenge/Halite Class Usage Examples

Public Methods

Method Description
__construct ( string $host = 'localhost', integer $port = 25, string $security = null ) Create a new SmtpTransport, optionally with $host, $port and $security.
newInstance ( string $host = 'localhost', integer $port = 25, string $security = null ) : Swift_SmtpTransport Create a new SmtpTransport instance.

Method Details

__construct() public method

Create a new SmtpTransport, optionally with $host, $port and $security.
public __construct ( string $host = 'localhost', integer $port = 25, string $security = null )
$host string
$port integer
$security string

newInstance() public static method

Create a new SmtpTransport instance.
public static newInstance ( string $host = 'localhost', integer $port = 25, string $security = null ) : Swift_SmtpTransport
$host string
$port integer
$security string
return Swift_SmtpTransport