SpoolManager
class SpoolManager implements SpoolInterface, CacheInterface
Methods
__construct(string $spool_dir = null)
Construction of a MimeEmail object
setSpoolDirectory(string $dir)
Set the spooled mails directory
string
getSpoolDirectory()
Get the spooled mails directory
setOrderBy(string $rule = 'mdate asc')
Set the spooled files ordering rule
addMessageToSpool(string $id, string|array $contents)
Add a message to spool mails
getMessageFromSpool(string $id)
Get a message from spool mails by ID
bool
cacheFile(string $filename, string $content, bool $encode_filename = true)
No description
bool
isCachedFile(string $filename)
No description
string
getCachedFile(string $filename)
No description
encodeFilename($filename)
No description
rewind()
No description
current()
No description
key()
No description
next()
No description
valid()
No description
Details
at line 65
__construct(string $spool_dir = null)
Construction of a MimeEmail object
at line 83
SpoolManager
setSpoolDirectory(string $dir)
Set the spooled mails directory
at line 99
string
getSpoolDirectory()
Get the spooled mails directory
at line 109
setOrderBy(string $rule = 'mdate asc')
Set the spooled files ordering rule
at line 113
addMessageToSpool(string $id, string|array $contents)
Add a message to spool mails
at line 119
getMessageFromSpool(string $id)
Get a message from spool mails by ID