{ "info": { "author": "Taito Horiuchi", "author_email": "taito.horiuchi@gmail.com", "bugtrack_url": null, "classifiers": [ "Framework :: Plone", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Introduction\n============\n\nCharacter set of outgoing mail from Plone is defined in a portal property name \"email_charset\" and this charset is globally used in the Plone site.\nThis is fine with monolingual site, however in multilingual site, there are cases you want to send mails with differernt character sets for different languages.\nThis package provides this function to Plone-4.x.\n\nThis does not have backword compatibility for Plone-3.x, so for those who wants to use this for Plone-3.x, use version 0.2.0.\n\nThere are five main default cases for sending e-mails from Plone site:\n\n1. When new user registers to the site with password setting disabled.\n2. When a user forgets password and plone sends the user the guide to reset it.\n3. When user contacts administrator form contact form.\n4. When content rules trigers sending mail, ex) when adding content to a certain folder.\n\nTests are only done with character set of iso-2022-jp for Japanese language and utf-8 for other languages.\n\nInstallation\n============\n\nIf you are using zc.buildout and the plone.recipe.zope2instance\nrecipe to manage your project, you can do this:\n\n* Add ``collective.langMailHost`` to the list of eggs to install, e.g.:\n\n | [buildout]\n | ...\n | eggs =\n | ...\n | collective.langMailHost\n\n* Tell the plone.recipe.zope2instance recipe to install a ZCML slug:\n\n | [instance]\n | recipe = plone.recipe.zope2instance\n | ...\n | zcml =\n | collective.langMailHost\n\n* Re-run buildout, e.g. with:\n\n $ ./bin/buildout\n\n\nSetting language and character set\n-------------------------------------------\n\nOnce you installed this package from quickinstaller, go to ZMI of the plone site.\nWithin portal_properties, there is mailhost_properties where you can set two propeties.\n\n* lang_charset\n 'ja|iso-2022-jp' is default value.\n This means for Japanese language ('ja'), use character set 'iso-2022-jp'.\n To add other language and character set pair, add it line by line.\n Remenber to follow this syntax: language|charset\n\n* is_member_lang_effective\n If this option is selected, logged in member receives e-mail with the character set of member's choice of languages.\n\n\nScript example for your own code\n----------------------------------------\n\nHere is an example how to use ILangCharset interface:\n\n>>> from collective.langMailHost.interfaces import ILangCharset\n>>> charset = ILangCharset(portal).effective_charset() or portal.getProperty('email_charset', 'UTF-8')\n...\n\nChangelog\n=========\n0.3.5 (2011-03-04)\n------------------\n* metadata.xml added.\n* Test now pass with Plone-4.0.4.\n\n0.3.3 (2010-07-08)\n------------------\n\n* Test added for Contact, Register and Password reset mailing in two different languages.\n\n0.3.2 (2010-06-30)\n-------------------\n\n* contact-info's subject character problem fixed with safe_unicode impolementation.\n\n0.3.1 (2010-06-16)\n-------------------\n\n* Updated for Plone-4.x.\n* This does not work with Plone-3.x. If you want to use with Plone-3.x, use version 0.2.0.\n* Tested with Plone-4.0b4.\n\n0.2.0 (2009-09-01)\n--------------------\n\n* Overrode secureSend method from SecureMailHost class.\n\n0.1.0 (2009-08-31)\n--------------------\n\n* Initial release\n* Tested with Plone-3.3", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/collective.langMailHost", "keywords": "", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "collective.langMailHost", "package_url": "https://pypi.org/project/collective.langMailHost/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/collective.langMailHost/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/collective.langMailHost" }, "release_url": "https://pypi.org/project/collective.langMailHost/0.3.5/", "requires_dist": null, "requires_python": null, "summary": "This package aims to provide language dependent character set for sending emails from Plone site.", "version": "0.3.5" }, "last_serial": 787924, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "b9e1e8c1f930aa45b7b5bfe69f29e84a", "sha256": "236daca6966f0b79f7f950a3c125134c0fec3bb06b0c6fbfbd4e80b426572dd2" }, "downloads": -1, "filename": "collective.langMailHost-0.1.0.tar.gz", "has_sig": false, "md5_digest": "b9e1e8c1f930aa45b7b5bfe69f29e84a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19902, "upload_time": "2009-08-31T18:44:45", "url": "https://files.pythonhosted.org/packages/0e/75/bd03a1ca004a0488a3e5428100a5117002f096ab3aff34e44363754ec47e/collective.langMailHost-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "6377532aedaa77be31b449dd533cc0e1", "sha256": "7b071f74529dccdf07e72fa87f403a5570ec8683d4ba70393f5604f075913d89" }, "downloads": -1, "filename": "collective.langMailHost-0.2.0.tar.gz", "has_sig": false, "md5_digest": "6377532aedaa77be31b449dd533cc0e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16468, "upload_time": "2009-08-31T23:22:34", "url": "https://files.pythonhosted.org/packages/c8/55/27bab0ee17401d17404a9101881d9645a1c0d430a114175e326757dffffc/collective.langMailHost-0.2.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "bb328d2880e3abb70c095d99cc94aec0", "sha256": "a8818229516ce9ae069f7998035187e8be1a248368abbeb21b0ce535a2de776d" }, "downloads": -1, "filename": "collective.langMailHost-0.3.1.tar.gz", "has_sig": false, "md5_digest": "bb328d2880e3abb70c095d99cc94aec0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15160, "upload_time": "2010-06-16T21:14:07", "url": "https://files.pythonhosted.org/packages/76/4d/2b86ae7729015b36c26aeec263e94f1290a0224240bb11724a05c8ece33b/collective.langMailHost-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "1eb9108ace38e30275bf6d3b42d9d9cd", "sha256": "3ccd8be8b9d886308a35ea374c60bd178dd26d30763c1c8f976dffe6aef110b0" }, "downloads": -1, "filename": "collective.langMailHost-0.3.2.tar.gz", "has_sig": false, "md5_digest": "1eb9108ace38e30275bf6d3b42d9d9cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15208, "upload_time": "2010-06-30T11:33:55", "url": "https://files.pythonhosted.org/packages/79/38/2b6ca8b11894b027319aaf9ff06db5c8b8cbc07585e37f4fb30c5eee6f0d/collective.langMailHost-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "761d1e80f28bb8e055f8bb36619d831a", "sha256": "37b856ae35666487dae72fe33517963597c221a173beac688c4157777ebbfc2e" }, "downloads": -1, "filename": "collective.langMailHost-0.3.3.tar.gz", "has_sig": false, "md5_digest": "761d1e80f28bb8e055f8bb36619d831a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17847, "upload_time": "2010-07-08T00:57:13", "url": "https://files.pythonhosted.org/packages/86/c5/c2d6ef860d89b9f2a00c45732ade8daa3df9cad4dc56cb39805edd245e51/collective.langMailHost-0.3.3.tar.gz" } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "7e44964d8864637dd6f0c70dc0ac53a8", "sha256": "7d202ad569536bc35827b17be80cd7a64a8cf3e3302cafa9bd8ca3b59dd3119f" }, "downloads": -1, "filename": "collective.langMailHost-0.3.4.tar.gz", "has_sig": false, "md5_digest": "7e44964d8864637dd6f0c70dc0ac53a8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17905, "upload_time": "2010-11-26T22:03:06", "url": "https://files.pythonhosted.org/packages/61/8d/7b212c8918963d1761b0273b845fd64f8d007aaa24759b7d6d6eb3abb35d/collective.langMailHost-0.3.4.tar.gz" } ], "0.3.5": [ { "comment_text": "", "digests": { "md5": "3b0b945bf7f1c07a88cccbe5ffaff9ed", "sha256": "55a4144f16bbe75872ce28eb5a419310bbc53068ff85b9f37084cb8104aa18e4" }, "downloads": -1, "filename": "collective.langMailHost-0.3.5.tar.gz", "has_sig": false, "md5_digest": "3b0b945bf7f1c07a88cccbe5ffaff9ed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17820, "upload_time": "2011-03-03T23:08:35", "url": "https://files.pythonhosted.org/packages/10/a6/cae18d4c8637c3c459bb2d06ad4006634bb57ce2f7eabbad2c906015feb9/collective.langMailHost-0.3.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3b0b945bf7f1c07a88cccbe5ffaff9ed", "sha256": "55a4144f16bbe75872ce28eb5a419310bbc53068ff85b9f37084cb8104aa18e4" }, "downloads": -1, "filename": "collective.langMailHost-0.3.5.tar.gz", "has_sig": false, "md5_digest": "3b0b945bf7f1c07a88cccbe5ffaff9ed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17820, "upload_time": "2011-03-03T23:08:35", "url": "https://files.pythonhosted.org/packages/10/a6/cae18d4c8637c3c459bb2d06ad4006634bb57ce2f7eabbad2c906015feb9/collective.langMailHost-0.3.5.tar.gz" } ] }