Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentRssCreator
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • mpAutoloaderClassMap
  • None
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SearchSolr
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Transport

Classes

  • Swift_Plugins_AntiFloodPlugin
  • Swift_Plugins_BandwidthMonitorPlugin
  • Swift_Plugins_DecoratorPlugin
  • Swift_Plugins_ImpersonatePlugin
  • Swift_Plugins_LoggerPlugin
  • Swift_Plugins_MessageLogger
  • Swift_Plugins_PopBeforeSmtpPlugin
  • Swift_Plugins_RedirectingPlugin
  • Swift_Plugins_ReporterPlugin
  • Swift_Plugins_Reporters_HitReporter
  • Swift_Plugins_Reporters_HtmlReporter
  • Swift_Plugins_ThrottlerPlugin

Interfaces

  • Swift_Plugins_Decorator_Replacements
  • Swift_Plugins_Pop_Pop3Connection
  • Swift_Plugins_Reporter
  • Swift_Plugins_Sleeper
  • Swift_Plugins_Timer
  • Overview
  • Package
  • Class
  • Todo
  • Download

Class Swift_Plugins_PopBeforeSmtpPlugin

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

Swift_Plugins_PopBeforeSmtpPlugin implements Swift_Events_TransportChangeListener, Swift_Plugins_Pop_Pop3Connection
Package: Swift\Plugins
Author: Chris Corbyn
Located at classes/swiftmailer/lib/classes/Swift/Plugins/PopBeforeSmtpPlugin.php
Methods summary
public
# __construct( string $host, integer $port = 110, string $crypto = null )

Create a new PopBeforeSmtpPlugin for $host and $port.

Create a new PopBeforeSmtpPlugin for $host and $port.

Parameters

$host
$port
$crypto
$cypto as "tls" or "ssl"
public static Swift_Plugins_PopBeforeSmtpPlugin
# newInstance( string $host, integer $port = 110, string $crypto = null )

Create a new PopBeforeSmtpPlugin for $host and $port.

Create a new PopBeforeSmtpPlugin for $host and $port.

Parameters

$host
$port
$crypto
$cypto as "tls" or "ssl"

Returns

Swift_Plugins_PopBeforeSmtpPlugin
public
# setConnection( Swift_Plugins_Pop_Pop3Connection $connection )

Set a Pop3Connection to delegate to instead of connecting directly.

Set a Pop3Connection to delegate to instead of connecting directly.

Parameters

$connection
public
# bindSmtp( Swift_Transport $smtp )

Bind this plugin to a specific SMTP transport instance.

Bind this plugin to a specific SMTP transport instance.

Parameters

$smtp
public
# setTimeout( integer $timeout )

Set the connection timeout in seconds (default 10).

Set the connection timeout in seconds (default 10).

Parameters

$timeout
public
# setUsername( string $username )

Set the username to use when connecting (if needed).

Set the username to use when connecting (if needed).

Parameters

$username
public
# setPassword( string $password )

Set the password to use when connecting (if needed).

Set the password to use when connecting (if needed).

Parameters

$password
public
# connect( )

Connect to the POP3 host and authenticate.

Connect to the POP3 host and authenticate.

Throws

Swift_Plugins_Pop_Pop3Exception
if connection fails

Implementation of

Swift_Plugins_Pop_Pop3Connection::connect()
public
# disconnect( )

Disconnect from the POP3 host.

Disconnect from the POP3 host.

Throws

Swift_Plugins_Pop_Pop3Exception

Implementation of

Swift_Plugins_Pop_Pop3Connection::disconnect()
public
# beforeTransportStarted( Swift_Events_TransportChangeEvent $evt )

Invoked just before a Transport is started.

Invoked just before a Transport is started.

Parameters

$evt

Implementation of

Swift_Events_TransportChangeListener::beforeTransportStarted()
public
# transportStarted( Swift_Events_TransportChangeEvent $evt )

Not used.

Not used.

Parameters

$evt

Implementation of

Swift_Events_TransportChangeListener::transportStarted()
public
# beforeTransportStopped( Swift_Events_TransportChangeEvent $evt )

Not used.

Not used.

Parameters

$evt

Implementation of

Swift_Events_TransportChangeListener::beforeTransportStopped()
public
# transportStopped( Swift_Events_TransportChangeEvent $evt )

Not used.

Not used.

Parameters

$evt

Implementation of

Swift_Events_TransportChangeListener::transportStopped()
private
# _command( $command )
private
# _assertOk( $response )
private
# _getHostString( )
Properties summary
private $_connection

A delegate connection to use (mostly a test hook)

A delegate connection to use (mostly a test hook)

#
private $_host

Hostname of the POP3 server

Hostname of the POP3 server

#
private $_port

Port number to connect on

Port number to connect on

#
private $_crypto

Encryption type to use (if any)

Encryption type to use (if any)

#
private $_username

Username to use (if any)

Username to use (if any)

#
private $_password

Password to use (if any)

Password to use (if any)

#
private $_socket

Established connection via TCP socket

Established connection via TCP socket

#
private integer $_timeout

Connect timeout in seconds

Connect timeout in seconds

# 10
private $_transport

SMTP Transport to bind to

SMTP Transport to bind to

#
CMS CONTENIDO 4.9.7 API documentation generated by ApiGen