basic package for mailtoplone
Project description
Overview
basic package for mailtoplone
Dependencies
Additional egg dependecies
icalendar dateutil
Contents
Content Types
InBox:
Provides an XMLRPCView to access it’s drop 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.
Email:
File like content type conatining the mailstring inside the data field. View registered for IEmail: emailview ( as standard view ) shows:
headers Subject, From, To, Cc
body (prefers text/html parts over text/plain parts)
attachments (download link)
Adapters
MailDropBox:
Basic adapter, providing a drop method generating an Email out of the dropped mailstring
BlogMailDropBox:
Advanced adapter, creating a news item out of the dropped mailstring.
EventMailDropBox:
Advanced adapter, creating an event out of text/calendar attachments inside the dropped mailstring
Utilities
BaseDropBoxFactory:
Used to find objects providing IMailDropBoxMarker with id=key. Used by the deliver action in mailtoplone.contentrules.
ICalEventFactory:
Taking an icalendar string, this utility creates an ATEvent out of each VEVENT. The implementation supports keywordarguments, passing them to invokeFactory. This implementation correctly imports events exported from plone, as a first approach. It is used by the EventMailDropBox.
MarkerInterfaces
You can use these markerinterfaces (@@manage_interfaces) to mark a folder for mailtoplone (remember to reindex the marked object). Afterwards the folder can be found and delivered mails to.
- IMailDropBoxMarker(Interface):
“”” marker interface for mail drop boxes “””
- IBlogMailDropBoxMarker(IMailDropBoxMarker):
“”” marker interface for blog mail drop boxes “””
- IEventMailDropBoxMarker(IMailDropBoxMarker):
“”” marker interface for event mail drop boxes “””
Scripts
dropemail:
File system python script, to drop a mail to an inbox(url), specify the mail as file or use stdin
vim: set ft=rst tw=75 nocin nosi ai sw=4 ts=4 expandtab:
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mailtoplone.base-0.2.2.tar.gz
.
File metadata
- Download URL: mailtoplone.base-0.2.2.tar.gz
- Upload date:
- Size: 105.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cefecdfa27e650eabd4443ee9e3c31070707c1bde1e7c8092ac9f5922d7ec0ea |
|
MD5 | 534a601b5673c854e818cfa266bb437a |
|
BLAKE2b-256 | e2aac4b3e53b3fd384b7b7aeb01abc54ab714e9f4fbd908de2dccb0354c0b819 |
File details
Details for the file mailtoplone.base-0.2.2-py2.4.egg
.
File metadata
- Download URL: mailtoplone.base-0.2.2-py2.4.egg
- Upload date:
- Size: 152.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06a0c4521e0aff2dfbbd5d10237ecacfe496849435896e15df855bf898b487fc |
|
MD5 | 0d16e7883146646aa65a3c47eb79307b |
|
BLAKE2b-256 | 5c1edb6c16d4a5da628db1de886faef7918ab5838bd1d6ec600ddaf1bc92154d |