[ Index ]

MailPress 544

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/mp-includes/Swiftmailer/classes/Swift/Plugins/ -> PopBeforeSmtpPlugin.php (summary)

(no description)

File Size: 273 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Swift_Plugins_PopBeforeSmtpPlugin:: (16 methods):
  __construct()
  newInstance()
  setConnection()
  bindSmtp()
  setTimeout()
  setUsername()
  setPassword()
  connect()
  disconnect()
  beforeTransportStarted()
  transportStarted()
  beforeTransportStopped()
  transportStopped()
  _command()
  _assertOk()
  _getHostString()


Class: Swift_Plugins_PopBeforeSmtpPlugin  - X-Ref

Makes sure a connection to a POP3 host has been established prior to connecting to SMTP.

__construct($host, $port = 110, $crypto = null)   X-Ref
Create a new PopBeforeSmtpPlugin for $host and $port.

param: string $host
param: int    $port
param: string $crypto as "tls" or "ssl"

newInstance($host, $port = 110, $crypto = null)   X-Ref
Create a new PopBeforeSmtpPlugin for $host and $port.

param: string $host
param: int    $port
param: string $crypto as "tls" or "ssl"
return: Swift_Plugins_PopBeforeSmtpPlugin

setConnection(Swift_Plugins_Pop_Pop3Connection $connection)   X-Ref
Set a Pop3Connection to delegate to instead of connecting directly.

param: Swift_Plugins_Pop_Pop3Connection $connection
return: Swift_Plugins_PopBeforeSmtpPlugin

bindSmtp(Swift_Transport $smtp)   X-Ref
Bind this plugin to a specific SMTP transport instance.

param: Swift_Transport

setTimeout($timeout)   X-Ref
Set the connection timeout in seconds (default 10).

param: int $timeout
return: Swift_Plugins_PopBeforeSmtpPlugin

setUsername($username)   X-Ref
Set the username to use when connecting (if needed).

param: string $username
return: Swift_Plugins_PopBeforeSmtpPlugin

setPassword($password)   X-Ref
Set the password to use when connecting (if needed).

param: string $password
return: Swift_Plugins_PopBeforeSmtpPlugin

connect()   X-Ref
Connect to the POP3 host and authenticate.


disconnect()   X-Ref
Disconnect from the POP3 host.


beforeTransportStarted(Swift_Events_TransportChangeEvent $evt)   X-Ref
Invoked just before a Transport is started.

param: Swift_Events_TransportChangeEvent $evt

transportStarted(Swift_Events_TransportChangeEvent $evt)   X-Ref
Not used.


beforeTransportStopped(Swift_Events_TransportChangeEvent $evt)   X-Ref
Not used.


transportStopped(Swift_Events_TransportChangeEvent $evt)   X-Ref
Not used.


_command($command)   X-Ref
No description

_assertOk($response)   X-Ref
No description

_getHostString()   X-Ref
No description



Generated: Thu Apr 28 18:38:52 2016 Cross-referenced by PHPXref 0.7.1