{ "info": { "author": "Colm O'Connor", "author_email": "colm.oconnor.github@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "Operating System :: Unix", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Topic :: Communications :: Email", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Quality Assurance", "Topic :: Software Development :: Testing" ], "description": "HitchSMTP\n=========\n\nMock SMTP server that logs all incoming messages to stdout as JSON for\neasy parsing by HitchServe_.\n\nHitchSMTP contains a service definition for use with Hitch, but can\nalso be used alone.\n\n\nUse with Hitch\n==============\n\nInstall like so::\n\n $ hitch install hitchsmtp\n\n\n.. code-block:: python\n\n # Service definition in your test execution engine's setUp\n self.services['HitchSMTP'] = hitchsmtp.HitchSMTPService(\n port=10025 # Optional (default: 10025)\n )\n\n # Wait for email during test...\n containing = \"Registration email\"\n\n email = self.services['HitchSMTP'].logs.out.tail.until_json(\n lambda email: containing in email['payload'] or containing in email['Subject'],\n timeout=5,\n lines_back=1,\n )\n\n\nSee this service in action at the DjangoRemindMe_ project.\n\nBad SMTP Server\n===============\n\nYou can send to specific email addresses to mock most SMTP errors.\n\nE.g. Sending an email to 451-please-try-again-later@smtperrors.com will cause the \"451 Please try again later\" SMTP error.\n\nFor a full list of these errors and the email address @ smtperrors.com that will trigger them, see:\n\nhttps://github.com/hitchtest/hitchsmtp/blob/master/hitchsmtp/smtperrors.py\n\nFeatures\n========\n\n* Logs all details about emails received by the SMTP server as easily parsed JSON.\n* Parses links in your emails automatically so that you can check just for links in emails and 'click' on them.\n* Can also mock SMTP errors.\n\n\n.. _DjangoRemindMe: https://github.com/hitchtest/django-remindme\n.. _HitchServe: https://github.com/hitchtest/hitchserve", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://hitch.readthedocs.org/", "keywords": "hitch testing framework bdd tdd declarative tests testing smtp email mock server", "license": "AGPL", "maintainer": null, "maintainer_email": null, "name": "hitchsmtp", "package_url": "https://pypi.org/project/hitchsmtp/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/hitchsmtp/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://hitch.readthedocs.org/" }, "release_url": "https://pypi.org/project/hitchsmtp/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "Mock SMTP server that logs incoming messages to stdout as JSON for easy parsing and testing by the hitch framework.", "version": "0.2.1" }, "last_serial": 1601355, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "4f3ed5f9675f18c783f723197230829f", "sha256": "dd892fd0dd5c9804f1a3513c4e21c5cb06c8e0766df9c72b7a460a0f18b7c12a" }, "downloads": -1, "filename": "hitchsmtp-0.1.tar.gz", "has_sig": false, "md5_digest": "4f3ed5f9675f18c783f723197230829f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5396, "upload_time": "2015-06-07T05:45:07", "url": "https://files.pythonhosted.org/packages/f7/34/2084c31bc3b592e0536e76bfa13f0e5dd438700787770a5c43de23f1746e/hitchsmtp-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "a4afc070911974b8f5a6958cac18dfa7", "sha256": "79ec950c67d88eff861b5f4b284c59585d01783cdbba22e49814ec7a071a5f4c" }, "downloads": -1, "filename": "hitchsmtp-0.2.tar.gz", "has_sig": false, "md5_digest": "a4afc070911974b8f5a6958cac18dfa7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5445, "upload_time": "2015-06-21T05:57:28", "url": "https://files.pythonhosted.org/packages/2a/6a/e5671c3043fbc49aa011750ab822f5d6931addcc3e9042902888a8997978/hitchsmtp-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "b9307bb3c152e3d4dd3fa69c51958a4d", "sha256": "26bfaafc642336a21d491209703f4d0ebdef432121d223400e6cd80acb09db69" }, "downloads": -1, "filename": "hitchsmtp-0.2.1.tar.gz", "has_sig": false, "md5_digest": "b9307bb3c152e3d4dd3fa69c51958a4d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5492, "upload_time": "2015-06-22T01:26:38", "url": "https://files.pythonhosted.org/packages/88/cb/0bccddb5167a0f89daaf515c34734131b3fb0d0a3e30e7721f3b30b3efdc/hitchsmtp-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b9307bb3c152e3d4dd3fa69c51958a4d", "sha256": "26bfaafc642336a21d491209703f4d0ebdef432121d223400e6cd80acb09db69" }, "downloads": -1, "filename": "hitchsmtp-0.2.1.tar.gz", "has_sig": false, "md5_digest": "b9307bb3c152e3d4dd3fa69c51958a4d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5492, "upload_time": "2015-06-22T01:26:38", "url": "https://files.pythonhosted.org/packages/88/cb/0bccddb5167a0f89daaf515c34734131b3fb0d0a3e30e7721f3b30b3efdc/hitchsmtp-0.2.1.tar.gz" } ] }