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
  • Swift_ConfigurableSpool
  • Swift_DependencyContainer
  • Swift_FileSpool
  • Swift_Mailer
  • Swift_MemorySpool
  • Swift_NullTransport
  • Swift_Preferences
  • Swift_SpoolTransport
  • Swift_StreamFilters_ByteArrayReplacementFilter
  • Swift_StreamFilters_StringReplacementFilter
  • Swift_StreamFilters_StringReplacementFilterFactory
  • Swift_Transport_NullTransport
  • Swift_Transport_SpoolTransport
  • Swift_Validate

Interfaces

  • Swift_DependencyException
  • Swift_Filterable
  • Swift_IoException
  • Swift_ReplacementFilterFactory
  • Swift_RfcComplianceException
  • Swift_Spool
  • Swift_StreamFilter
  • Swift_SwiftException
  • Overview
  • Package
  • Class
  • Todo
  • Download

Class Swift_FileSpool

Stores Messages on the filesystem.

Swift_ConfigurableSpool implements Swift_Spool
Extended by Swift_FileSpool
Package: Swift
Author: Fabien Potencier
Author: Xavier De Cock xdecock@gmail.com
Located at classes/swiftmailer/lib/classes/Swift/FileSpool.php
Methods summary
public
# __construct( string $path )

Create a new FileSpool.

Create a new FileSpool.

Parameters

$path

Throws

Swift_IoException
public boolean
# isStarted( )

Tests if this Spool mechanism has started.

Tests if this Spool mechanism has started.

Returns

boolean
public
# start( )

Starts this Spool mechanism.

Starts this Spool mechanism.

public
# stop( )

Stops this Spool mechanism.

Stops this Spool mechanism.

public
# setRetryLimit( integer $limit )

Allow to manage the enqueuing retry limit. Default, is ten and allows over 64^20 different fileNames

Allow to manage the enqueuing retry limit. Default, is ten and allows over 64^20 different fileNames

Parameters

$limit
public boolean
# queueMessage( Swift_Mime_Message $message )

Queues a message.

Queues a message.

Parameters

$message
The message to store

Returns

boolean

Throws

Swift_IoException
public
# recover( integer $timeout = 900 )

Execute a recovery if for anyreason a process is sending for too long

Execute a recovery if for anyreason a process is sending for too long

Parameters

$timeout
in second Defaults is for very slow smtp responses
public integer
# flushQueue( Swift_Transport $transport, string[] & $failedRecipients = null )

Sends messages using the given transport instance.

Sends messages using the given transport instance.

Parameters

$transport
A transport instance
$failedRecipients
$failedRecipients An array of failures by-reference

Returns

integer
The number of sent emails
protected
# getRandomString( integer $count )

Returns a random string needed to generate a fileName for the queue.

Returns a random string needed to generate a fileName for the queue.

Parameters

$count
Methods inherited from Swift_ConfigurableSpool
getMessageLimit(), getTimeLimit(), setMessageLimit(), setTimeLimit()
Properties summary
private $_path

The spool directory

The spool directory

#
private integer $_retryLimit

File WriteRetry Limit

File WriteRetry Limit

# 10
CMS CONTENIDO 4.9.7 API documentation generated by ApiGen