MailNode
- Warning
- This product has not had a release in over 1 year and may no longer be maintained.
Mailnode extends the basic Zope MailHost by adding some functionalities, like file attachements. It uses the MailHost configuration (by acquisition).
Project Description
## $Id: README.txt 70818 2008-08-28 12:38:00Z kilobug $
Introduction
Mailnode is a simple Zope item that provides a tool that can :
- send mails with file attachments ;
- send HTML mails, and automatically generate the plain-text alternative ;
- check an error mailbox and notify the application if the sending goes wrong.
Synopsis
Call structure in Zope (return a msg-id)
parameters = {
'to': 'receiver@mail.com',
'subject': 'Sujet du mail',
'body': """Le corps du mail
sur plusieurs lignes""",
'attachment': ['/home/user/document.pdf', fd2, 'fichier3.pdf', ...]
}
context.Mailnode.sendMail(parameters)
You can provide a dictionary or use keyword arguments. You can also create a (non-persistent) mail object, fill it by calling method on it, and then send it.
Dependencies
- lynx is required for HTML to text conversion.
Installation
- Untar the product in the Products/ directory.
- Restart your Zope instance.
- Install the product with Add/Remove products or with the quick-installer.
Configuration
The tool has several editable properties. There name should be clear enough.
Errors control
Another feature of Mailnode can check periodically an 'error' POP mailbox, to take care of the sending problems. This will require extra setup.
Concept
- Periodically, an external program calls the 'check' method on the Mailnode Item, in Zope. (cron + wget, or clock server)
- 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.
Current Release
MailNode 0.5
Released Aug 28, 2008 — tested with Plone 2.1, Plone 2.5, Plone 3, Plone 2.0
Code cleanup, new features.
More about this release…
-
Get
MailNode
for
all platforms
- Product Package
- If you are using Plone 3.2 or higher, you probably want to install this product with buildout. See our tutorial on installing add-on products with buildout for more information.
All Releases
| Version | Released | Description | Compatibility | Status |
|---|---|---|---|---|
| 0.5 | Aug 28, 2008 | Code cleanup, new features. More about this release… |
Plone 2.1
Plone 2.5
Plone 3
Plone 2.0
|
final |
| 0.1.0 | Apr 28, 2006 | Initial release More about this release… |
Plone 2.1.2
Plone 2.1.1
Plone 2.1
Plone 2.0.5
Plone 2.0.4
Plone 2.0.3
Plone 2.0.2
Plone 2.0.1
Plone 2.0
Zope 2.8.4
Zope 2.8
Zope 2.7.8
Zope 2.7
|
final |

