Skip to main content

basic package for mailtoplone

Project description

Overview

basic package for mailtoplone

Authors

Stefan Eletzhofer –

“<stefan dot eletzhofer at inquant de>”

Hans-Peter Locher –

“<hans-peter dot locher at inquant de>”

Copyright (c) 2007-2008 InQuant GmbH – “http://www.inquant.de

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

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.

IdGenerator:

Used to generate a simple id unique for the given context. Used when generating content (Emails, News, Events)

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

mailtoplone.base-0.1.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

mailtoplone.base-0.1-py2.4.egg (45.2 kB view details)

Uploaded Source

File details

Details for the file mailtoplone.base-0.1.tar.gz.

File metadata

File hashes

Hashes for mailtoplone.base-0.1.tar.gz
Algorithm Hash digest
SHA256 dbe46432534a9797b5c442ea2a70bb8aa6316d57cdc8c8ce9d8a6c22f48e57bc
MD5 cb8410c29d045d083d0f1af5cefaee5f
BLAKE2b-256 a3e4040c451321a2a3c53941c50424002821d4b969c2d9590d394c427cb1093c

See more details on using hashes here.

File details

Details for the file mailtoplone.base-0.1-py2.4.egg.

File metadata

File hashes

Hashes for mailtoplone.base-0.1-py2.4.egg
Algorithm Hash digest
SHA256 a60622ed5249cb551cabc67dd750dc77492eef0d838ba45af599ebab03186c22
MD5 792c3f720f6d83b151ff087b13a17d2c
BLAKE2b-256 e14155347b1c395f84f175a2c79f13765849e49cef3073a97f4628f92d0a60fa

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page