You are here: Home Plone products MailNode

MailNode (0.5)

by olena last modified 2009-02-17
Released on 2008-08-27 by Pilot Systems for Plone 2.0, Plone 2.1, Plone 2.5, Plone 3.0, Plone 3.1 under GPL - GNU General Public License available for All platforms.
Software development stage: stable
Mailnode extends the basic Zope MailHost by adding some functionalities, like file attachements. It uses the MailHost configuration (by acquisition).


Mailnode is a simple Zope item that provides :

  • A python module that can send mails with file attachments
  • Another python module that can check an error mailbox and notify the application if the sending goes wrong


In the 'properties tab' of the zope Mailnode object :

  • from_address : expeditor email address
  • charset : character encoding
  • pop_server, pop_username, pop_password : error mailbox informations
  • error_callback : name of the function called on error (by acquisition)

Errors control

In a second time, Mailnode can check periodically an 'error' POP mailbox, to take care of the sending problems.

  Concept :

  • Periodically, an external program calls the 'check' method on the Mailnode Item, in Zope. (cron + wget)
  • This method connects to the mailserver server and pops the error messages
  • For every message, the msg-id is located by text analysis.
  • The 'check' method triggers the method defined in the 'error_callback' properties, giving the msg-id as an argument.
Document Actions
Powered by Plone