Usage
The question is, how do emails get to your plone instance?
Drop a mail to plone
Mailtoplone defines an InBox, to be populated with Emails. This folderish type can be populated using a xmlrpc method.
Dropping a mailstring (a plaintext string containing the whole email including envelope), a plone content type
Email will be generated, the data field will contain the mailstring. To ease the usage of this xmlrpc method, a script can be
used:
- dropemail
(specify the url of the InBox and optional a file ( if no
file is specified will use stdin)
You can integrate this script to your mailserver to automatically drop mails to plone.
Further processing
Having the email inside plone, we're able to work with it. Remember we mentioned rules as an important principle.
Plone has a great rule mechanism, called Content Rules
Having custom actions and conditions enables the processing to be flexible. The idea is to use the global InBox,
which all mails are dropped to and assign content rules to it, to further process the Emails.