{ "info": { "author": "Martin Aspeli", "author_email": "plone-developers@lists.sourceforge.net", "bugtrack_url": null, "classifiers": [ "Framework :: Plone", "Framework :: Plone :: 4.3", "Framework :: Plone :: 5.0", "Framework :: Plone :: 5.1", "Framework :: Plone :: 5.2", "License :: OSI Approved :: GNU General Public License (GPL)", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Products.PrintingMailHost\n=========================\n\nThis is a hack. :)\n\nThis product, when installed, will check if Zope is running in debug mode,\nand if so, monkey patch (that is, grab the internals of, squeeze tight, then\nrip hard, just like monkeys do) Zope's MailHost class, meaning that *any and\nall* uses of a MailHost will be \"fixed\" so that instead of sending mail, it\nprints messages to the zope event log.\n\nThis is useful if you don't have a local mailhost for testing, or if you\nprefer not to spam the crap out of yourself whilst finding out if your bulk\nmail script is working.\n\nIf Zope is not running in debug mode, it will not install itself. However,\nI wouldn't recommend putting it on a production site. You never know what\nthose monkeys may get up to...\n\nYou can optionally enable the PrintingMailHost with an environment variable\nas of version 0.3. See the installation instructions for more information\nabout how to use it.\n\n\nCompatibility\n-------------\n\nWorks on Plone 3.3, Plone 4, Plone 5.0, 5.1 and 5.2 (in Python 2.7, 3.6 and 3.7).\n\n\nAuthor\n------\n\nMartin Aspeli \n Initial idea, release management\n\n\nContributors\n------------\n\nDorneles Tremea \n Fixed to work both with old-style and new-style classes. Extended\n to also patch SecureMailBase from SecureMailHost, if available.\n\nClayton Parker \n\nMaurits van Rees \n\nHarald Friessnegger \n\n\nProducts.PrintingMailHost Installation\n======================================\n\nTo install Products.PrintingMailHost into your Plone instance in\nbuildout, you can do this:\n\n- Add ``Products.PrintingMailHost`` to the list of eggs to install, e.g.::\n\n [instance]\n ...\n eggs =\n ...\n Products.PrintingMailHost\n\n- If you want to enable PrintingMailHost when debug-mode is off::\n\n [instance]\n ...\n environment-vars =\n ...\n ENABLE_PRINTING_MAILHOST True\n\n- If you want to disable PrintingMailHost when debug-mode is on::\n\n [instance]\n ...\n environment-vars =\n ...\n ENABLE_PRINTING_MAILHOST False\n\n- If PrintingMailHost is enabled, and you *additionally* want to send\n each email to a fixed address, you can add another environment\n variable::\n\n [instance]\n ...\n environment-vars =\n ...\n PRINTING_MAILHOST_FIXED_ADDRESS admin@example.org\n\n Or multiple addresses separated by spaces::\n\n PRINTING_MAILHOST_FIXED_ADDRESS one@example.org two@example.org\n\n For clarity: this first prints the email, with the original\n recipient address, and then sends an actual email with the same\n contents to the fixed address you have specified. The original\n recipient is visible in the ``To:`` field. It is similar to\n receiving a blind carbon copy (bcc) of an email, except that the\n original recipient never gets the email.\n\n- Re-run buildout in order to make any of the above changes active::\n\n $ ./bin/buildout\n\n\nChangelog\n=========\n\n1.1.2 (2019-03-05)\n------------------\n\n- Restore compatability with plone.api.\n [pbauer]\n\n\n1.1.1 (2019-02-28)\n------------------\n\n- Add support Python 3\n [pbauer]\n\n\n1.1.0 (2018-06-08)\n------------------\n\n- Check environment variables in Zope2 `initialize` instead of import time.\n This allows to configure environment-vars in zope.conf and use them when\n starting the instance with slc.zopescript\n [fRiSi]\n\n1.0 (2016-09-20)\n----------------\n\n- Treat ``FIXED_ADDRESS`` as a list. Previously, depending on your\n Plone version. a fixed address could get interpreted as a list of\n single-character email addresses, which of course does not work.\n Now it works properly. You can also give a list of addresses by\n separating them using spaces: ``one@example.org two@example.org``.\n Fixes https://github.com/collective/Products.PrintingMailHost/issues/4\n [maurits]\n\n\n0.8 (2015-04-16)\n----------------\n\n- Add environment variable ``PRINTING_MAILHOST_FIXED_ADDRESS`` to send\n all emails to a single, fixed address. PrintingMailHost still needs\n to be enabled, so this is in addition to printing.\n https://github.com/collective/Products.PrintingMailHost/issues/2\n [maurits]\n\n- Since we can enable PMH via an environment variable and thus when not\n running in debug mode / foreground, emails are no longer printed, but\n written to the zope event log.\n [pysailor]\n\n\n0.7 (2010-01-05)\n----------------\n\n- Also patch (Secure)MaildropHost when available.\n [maurits]\n\n\n0.6 (2010-01-05)\n----------------\n\n- Allow passing keyword 'immediate'. Needed for Plone 4 compatibility.\n [maurits]\n\n\n0.5 (2009-08-07)\n----------------\n\n- Fix email Message import\n [claytron]\n\n\n0.4 (2009-07-24)\n----------------\n\n- Rough support for multipart email messages\n [iElectric]\n\n\n0.3 (2009-03-22)\n----------------\n\n- Decode base64 encoded email messages\n [claytron]\n\n- Added environment variable (ENABLE_PRINTING_MAILHOST) to enable\n or disable PrintingMailHost\n [claytron]\n\n- Update README and HISTORY.txt\n [claytron]\n\n\n0.2 (2008-08-20)\n----------------\n\n- Release as an egg to PyPi\n [claytron]\n\n\n0.1\n---\n\n- Updated to use the new standard log mechanism: logging.getLogger.\n Reformated messages/docstrings.\n [dtremea] (2006-03-17)\n\n- Extended to also patch SecureMailBase from SecureMailHost, if\n available.\n [dtremea] (2005-10-23)\n\n- Fixed to work both with old-style and new-style classes, as in\n the later, dict is a 'dictproxy' instance, which doesn't have the\n setitem method. Bumpped version. Noted changes. And clean up\n whitespaces, of course... ;-)\n [dtremea] (2005-10-23)\n\n- Initial creation/release\n [optilude] (2005-04-05)", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/collective/Products.PrintingMailHost", "keywords": "zope debug mailhost", "license": "GPL", "maintainer": "", "maintainer_email": "", "name": "Products.PrintingMailHost", "package_url": "https://pypi.org/project/Products.PrintingMailHost/", "platform": "", "project_url": "https://pypi.org/project/Products.PrintingMailHost/", "project_urls": { "Homepage": "https://github.com/collective/Products.PrintingMailHost" }, "release_url": "https://pypi.org/project/Products.PrintingMailHost/1.1.2/", "requires_dist": null, "requires_python": "", "summary": "A monkey patch to send MailHost messages to standard out", "version": "1.1.2" }, "last_serial": 4901549, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "d6d00f955f12f89ffe7a088796461567", "sha256": "5597e042d8c4e463c2fd6956912c56b66ef5958fd1e5f9979f02cc99996e33be" }, "downloads": -1, "filename": "Products.PrintingMailHost-0.2.tar.gz", "has_sig": false, "md5_digest": "d6d00f955f12f89ffe7a088796461567", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8945, "upload_time": "2008-08-20T03:10:11", "url": "https://files.pythonhosted.org/packages/c8/a8/16f113b0d912fc1c2ced649b1bb60135ec2892675eb914f5d7d01f3e8d86/Products.PrintingMailHost-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "fe84c03ed9926ced7bfe00d5dfacd026", "sha256": "d135c973151c0cae26e7b63643571783fa5428f97b16268ddb6007f66e2cbf69" }, "downloads": -1, "filename": "Products.PrintingMailHost-0.3.tar.gz", "has_sig": false, "md5_digest": "fe84c03ed9926ced7bfe00d5dfacd026", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9818, "upload_time": "2009-03-22T20:05:39", "url": "https://files.pythonhosted.org/packages/fe/04/634fde80e0221d49a10e787543da886d8f10f4d2d0bc2db6a002c7e6e8d3/Products.PrintingMailHost-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "8dad95b39873b1ea48cf67f6290ca35b", "sha256": "e6708480aeb6c14f7749609f8526d8f1e3006eb37e0d752ca3c27510b202d89a" }, "downloads": -1, "filename": "Products.PrintingMailHost-0.4.tar.gz", "has_sig": false, "md5_digest": "8dad95b39873b1ea48cf67f6290ca35b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9976, "upload_time": "2009-07-24T15:17:31", "url": "https://files.pythonhosted.org/packages/59/42/ef798c28c1a018cb70accd857c52d2f8782d3dc6501d1544269a5f68b20f/Products.PrintingMailHost-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "7320acf3086ce41c016325715e192cc8", "sha256": "2544233993c848a6de3bdf8061b026475c4946c628e92704d9839ff1c1d403ae" }, "downloads": -1, "filename": "Products.PrintingMailHost-0.5.tar.gz", "has_sig": false, "md5_digest": "7320acf3086ce41c016325715e192cc8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10035, "upload_time": "2009-08-07T23:57:10", "url": "https://files.pythonhosted.org/packages/82/4c/48e93e1e03736f0515883192ebc202d9f6e40a18f98696674f2a8c26f1ce/Products.PrintingMailHost-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "427a78747b68d23df4d73adcd3c3e9c8", "sha256": "9032702d82ce1d1189456dfb9066ccced90eee20560ef163ef25572e32630962" }, "downloads": -1, "filename": "Products.PrintingMailHost-0.6.tar.gz", "has_sig": false, "md5_digest": "427a78747b68d23df4d73adcd3c3e9c8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10144, "upload_time": "2010-01-05T14:08:05", "url": "https://files.pythonhosted.org/packages/2a/92/f42a71b64fe49d9605b9ca95440f9c944b88a836ae11097c85f3d0f20b62/Products.PrintingMailHost-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "4a61e7d0f67930693b56854abe20899c", "sha256": "864500c2e003fa874f5af055c5161cddae78783b761b2ebd0d0dc359b3e1cb74" }, "downloads": -1, "filename": "Products.PrintingMailHost-0.7.tar.gz", "has_sig": false, "md5_digest": "4a61e7d0f67930693b56854abe20899c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10215, "upload_time": "2010-01-05T14:44:02", "url": "https://files.pythonhosted.org/packages/53/1e/f9a60159403af2e8d52cb6a2700da13c15789ecf404412ca6ac1e874c303/Products.PrintingMailHost-0.7.tar.gz" } ], "0.8": [ { "comment_text": "", "digests": { "md5": "bfb2863b19c38d91f7763ce4d21db3a6", "sha256": "047fdb837ef393a05cc904cb78682597f8bb94de3f2a9a331f6f303eef8f7c80" }, "downloads": -1, "filename": "Products.PrintingMailHost-0.8.tar.gz", "has_sig": false, "md5_digest": "bfb2863b19c38d91f7763ce4d21db3a6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11085, "upload_time": "2015-04-16T10:14:54", "url": "https://files.pythonhosted.org/packages/dc/da/05ba77c4b500925aec665ad6ea7cdbb7df05914d30dc872437a0ad28b2d2/Products.PrintingMailHost-0.8.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "4cb77cf513aa75b0190d8d53b9482984", "sha256": "118f7283b46f3969b4969af8a43cb2cfb9d1550d4f52d58f35022f4f716ca312" }, "downloads": -1, "filename": "Products.PrintingMailHost-1.0.tar.gz", "has_sig": false, "md5_digest": "4cb77cf513aa75b0190d8d53b9482984", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11458, "upload_time": "2016-09-20T13:47:11", "url": "https://files.pythonhosted.org/packages/7f/d1/4b5fa04c21670d73655f47b8c5959de81646e9951d6883e8436a69858f31/Products.PrintingMailHost-1.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "628afc57c4469fb0e35738e278523356", "sha256": "380566f881d716970744d2b43617569e52343052d56a2b6eda01f485061482b7" }, "downloads": -1, "filename": "Products.PrintingMailHost-1.1.0.tar.gz", "has_sig": false, "md5_digest": "628afc57c4469fb0e35738e278523356", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13059, "upload_time": "2018-06-08T16:31:40", "url": "https://files.pythonhosted.org/packages/bf/58/deed520f3834c20cd1f48e792176772540e11d86fe4bef562f7531baf6f7/Products.PrintingMailHost-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "4e245dbcba4bf5d783ce56ef596f7ff0", "sha256": "3f9963abc4a673795116aea8e9599bebbbb3360ca7798b67b605bea0d014944d" }, "downloads": -1, "filename": "Products.PrintingMailHost-1.1.1.tar.gz", "has_sig": false, "md5_digest": "4e245dbcba4bf5d783ce56ef596f7ff0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11740, "upload_time": "2019-02-28T13:47:20", "url": "https://files.pythonhosted.org/packages/4c/a1/c507029107af5fbb22f831e07768bf9285e09d93d8f6c71e8626454be263/Products.PrintingMailHost-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "ca89a03a2975d6a81aa11c6b58a8bef2", "sha256": "9cc6695c40f2778cca015ae626d358ff03ef7eac9c059779d291b85063e2fcb2" }, "downloads": -1, "filename": "Products.PrintingMailHost-1.1.2.tar.gz", "has_sig": false, "md5_digest": "ca89a03a2975d6a81aa11c6b58a8bef2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11825, "upload_time": "2019-03-05T19:46:19", "url": "https://files.pythonhosted.org/packages/9c/c1/7d99f2af4cb6d88e8c979535efc4d332e2051f7f66cb1288965e3343e19e/Products.PrintingMailHost-1.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ca89a03a2975d6a81aa11c6b58a8bef2", "sha256": "9cc6695c40f2778cca015ae626d358ff03ef7eac9c059779d291b85063e2fcb2" }, "downloads": -1, "filename": "Products.PrintingMailHost-1.1.2.tar.gz", "has_sig": false, "md5_digest": "ca89a03a2975d6a81aa11c6b58a8bef2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11825, "upload_time": "2019-03-05T19:46:19", "url": "https://files.pythonhosted.org/packages/9c/c1/7d99f2af4cb6d88e8c979535efc4d332e2051f7f66cb1288965e3343e19e/Products.PrintingMailHost-1.1.2.tar.gz" } ] }