[ Index ]

MailPress 544

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




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

(no description)

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

Defines 1 class

Swift_FileSpool:: (9 methods):

Class: Swift_FileSpool  - X-Ref

Stores Messages on the filesystem.

__construct($path)   X-Ref
Create a new FileSpool.

param: string $path

isStarted()   X-Ref
Tests if this Spool mechanism has started.

return: bool

start()   X-Ref
Starts this Spool mechanism.

stop()   X-Ref
Stops this Spool mechanism.

setRetryLimit($limit)   X-Ref
Allow to manage the enqueuing retry limit.

Default, is ten and allows over 64^20 different fileNames

param: int $limit

queueMessage(Swift_Mime_Message $message)   X-Ref
Queues a message.

param: Swift_Mime_Message $message The message to store
return: bool

recover($timeout = 900)   X-Ref
Execute a recovery if for any reason a process is sending for too long.

param: int $timeout in second Defaults is for very slow smtp responses

flushQueue(Swift_Transport $transport, &$failedRecipients = null)   X-Ref
Sends messages using the given transport instance.

param: Swift_Transport $transport        A transport instance
param: string[]        $failedRecipients An array of failures by-reference
return: int The number of sent e-mail's

getRandomString($count)   X-Ref
Returns a random string needed to generate a fileName for the queue.

param: int $count
return: string

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