[ Index ]

MailPress 7.2

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




/mp-includes/composer/vendor/swiftmailer/swiftmailer/lib/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_SimpleMessage $message)   X-Ref
Queues a message.

param: Swift_Mime_SimpleMessage $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: Tue May 19 15:55:14 2020 Cross-referenced by PHPXref 0.7.1