Mailhandler Mbox
Categories
Component ID
1843388
Component name
Mailhandler Mbox
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
Mailhandler Mbox module provides a retrieval library that will be used to retrieve mbox file messages. That works with the Mailhandler module to parse the elements of mbox file emails as Feeds mapping sources when importing content with Feeds and Mailhandler.
Mbox
Mbox is a generic term for a family of related file formats used for holding collections of electronic mail messages. All messages in an mbox mailbox are concatenated and stored as plain text in a single file. Mbox usually came from Mailman archives or others mails software.
Mbox related tools:
1.Eudora
2.Firebird
Requirements
- Mailhandler - provide basic fetcher and parser.
- Pear: Mail_mimeDecode - Provides a class to deal with the decoding and interpreting of mime messages.
- Pear: Mail_Mbox - Read and modify Unix MBOXes.
Usage
- Enable all modules: Feeds, Mailhandler (and its dependencies) and the "Mailhandler Mbox" module.
- Create a new node type for the importer. For instance "Mbox repository". Each node of this type will hold each Feed importer configured later on. You could have a different set and/or repository per node, for instance.
- Create a new node type for the imported records. Here you should add a field for each of the Dublin Core fields that will be imported. For instance: description, CC E-Mail, Sender E-Mail, Message Date, subject, Published date, References List, Attachments, etc.
- Create a new Feeds importer at admin/build/feeds/create
- Configure your importer as you would any other, except for these settings:
- On Basic Settings, in "Attach to content type" choose the importer node type created earlier. I recommend you uncheck "Import on submission", and use "Periodic import", which require cronjob configured correctly.
- For Fetcher, choose "Mailhandler fetcher".
- For Parser, choose "Mailhandler IMAP stream parser", note that is mean using IMAP account to parser, we need to config the mailhandler mailboxes using local Mbox file.
- For Processor, choose "Node processor".
- Under the node processor settings, on "Content type" select the node type created earlier for the records.
More information
For a listing of available repositories, see the module's README.TXT.
