Blesta
  • Package
  • Class
  • Tree
  • Deprecated

Packages

  • blesta
    • app
      • components
        • events
          • default
      • controllers
      • models
    • components
      • auth
      • delivery
        • interfax
        • postal
          • methods
      • download
      • email
      • exchange
        • rates
          • foxrate
          • google
            • finance
          • yahoo
            • finance
      • gateway
        • payments
      • gateways
      • invoice
        • delivery
        • templates
      • json
      • modules
      • net
        • http
        • net
          • amazon
            • s3
          • geo
            • ip
      • plugins
      • recaptcha
      • security
      • session
        • cart
      • settingscollection
      • upgrades
      • upload
      • vcard
    • helpers
      • currency
        • format
      • data
        • structure
          • array
          • string
      • text
        • parser
  • com
    • tecnick
      • tcpdf
        • blesta
          • components
            • invoice
              • templates
                • quickbooks
                  • invoice
                • templates
                  • default
  • Crypt
    • AES
    • DES
    • Hash
    • Random
    • RC4
    • Rijndael
    • RSA
    • TerraDES
  • File
    • ANSI
    • ASN1
    • X509
  • Math
    • BigInteger
  • minPHP
    • components
      • input
      • record
    • helpers
      • color
      • data
        • structure
      • date
      • html
      • xml
    • lib
  • Net
    • SFTP
    • SSH1
    • SSH2
  • None
  • PHP
  • PHPMailer
  • Services
    • JSON
  • 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_Filterable
  • Swift_ReplacementFilterFactory
  • Swift_Spool
  • Swift_StreamFilter

Exceptions

  • Swift_DependencyException
  • Swift_IoException
  • Swift_RfcComplianceException
  • Swift_SwiftException

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 vendors/swiftmailer/lib/classes/Swift/FileSpool.php

Methods summary

public
# __construct( string $path )

Create a new FileSpool.

Create a new FileSpool.

Parameters

$path
string
$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 6420 different fileNames

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

Parameters

$limit
integer
$limit
public boolean
# queueMessage( Swift_Mime_Message $message )

Queues a message.

Queues a message.

Parameters

$message
Swift_Mime_Message
$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
integer
$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
Swift_Transport
$transport A transport instance
$failedRecipients
string[]
&$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
integer
$count

Methods inherited from Swift_ConfigurableSpool

getMessageLimit(), getTimeLimit(), setMessageLimit(), setTimeLimit()

Magic methods summary

Properties summary

private mixed $_path
#

The spool directory

The spool directory

private integer $_retryLimit
#

File WriteRetry Limit

File WriteRetry Limit

Blesta API documentation generated by ApiGen 2.8.0