Mbox
class Mbox (View source)
Methods
__construct(string $filepath)
Constructor.
Details
__construct(string $filepath)
Constructor.
Generator
messages(string $delimiter = '/^From\s+\S+\s+' . '(Mon|Tue|Wed|Thu|Fri|Sat|Sun)\s+' . '(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s+' . '\d{1,2}\s+\d{2}:\d{2}:\d{2}' . '(?:\s+[+-]\d{4})?' . '\s+\d{4}/')
Get the messages from the mbox file.