You are here: Home Plone products Products.PrintingMailHost

Products.PrintingMailHost (0.7)

by olena last modified 2010-01-11
Released on 2010-01-05 by Dorneles Tremea, Martin Aspeli for Plone 3.0 under GPL - GNU General Public License available for All platforms.
Software development stage: stable
A monkey patch to send MailHost messages to standard out.

This product, when installed, will check if Zope is running in debug mode, and if so, monkey patch (that is, grab the internals of, squeeze tight, then rip hard, just like monkeys do) Zope's MailHost class, meaning that any and all uses of a MailHost will be "fixed" so that instead of sending mail, it prints messages to the standard output.

This is useful if you don't have a local mailhost for testing, or if you prefer not to spam the crap out of yourself whilst finding out if your bulk mail script is working.

If Zope is not running in debug mode, it will not install itself. However, I wouldn't recommend putting it on a production site. You never know what those monkeys may get up to...

You can optionally enable the PrintingMailHost with an environment variable as of version 0.3. See the installation instructions for more information about how to use it..

Document Actions
Powered by Plone