{ "info": { "author": "Oliver Cope", "author_email": "oliver@redgecko.org", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "========\nmailsend\n========\n\nThis is a fork of\n`Rick Harris's tinysmtp package `_\nwith a few fixes and Python 3 compatibility.\n\nExample::\n\n with Mail().connect() as mail:\n msg = Message(\n 'alice@example.com', 'Subject', ['bob@example.com'], body='body')\n mail.send(msg)\n\n\nConnections may be configured from a URL specified in an environment variable::\n\n export MAILSEND_URL=\"smtp+tls://user:password@server.example.org/\"\n\n\nOr as individual variables::\n\n export MAILSEND_HOSTNAME=server.example.org\n export MAILSEND_PORT=25\n\n\nOr in code::\n\n mail = Mail('smtp://server.example.org/')\n mail2 = Mail('server.example.org',\n port=25,\n ssl=True,\n username='x',\n password='x')\n\n\nCall ``mail.send`` to send a message::\n\n mail = Mail('smtp://server.example.org/')\n mail.send(sender='alice@example.com',\n recipients=['bob@example.com', 'charlie@example.com'],\n body='Hello everyone!',\n html='

Hello everyone!

',\n subject='Hello')\n\nOr use the message class to construct messages piecemeal::\n\n msg = Message('alice@example.com', 'Hello!')\n msg.body = 'Hello'\n msg.recipients = ['bob@example.com']\n msg.cc = ['charlie@example.org']\n msg.bcc = ['dina@example.org']\n\n mail = Mail('smtp://server.example.org/')\n mail.send(msg)\n\nTo send multiple messages in a single connection, use ``Mail.connect``::\n\n with mail.connect() as conn:\n conn.send(msg1)\n conn.send(msg2)\n\n\n0.1.5 (released 2019-06-18)\n---------------------------\n\n- Bugfix: don't add a duplicate Message-Id header if one is provided\n\n0.1.4 (released 2017-08-27)\n---------------------------\n\n- Bugfix: extra_headers option is now python 3 compatible\n\n0.1.3 (released 2017-04-19)\n---------------------------\n\n- Added ability to send stdlib email.message.Message objects via mailsend\n\n0.1.2 (released 2016-09-02)\n---------------------------\n\n- The mime structure of HTML emails is now compatible with Outlook 2011\n- The SMTPUTF8 extension is requested when messages contain utf-8 addresses.\n (feature is available in Python 3.5 only)\n\n0.1.1 (released 2015-12-21)\n---------------------------\n\n- Fixes for compatibility with envparse-0.2\n\n0.1 (released 2015-12-19)\n-------------------------\n\n- Forked from https://github.com/rconradharris/tinysmtp\n- Added configuration via URL (eg ``Connection('smtp://user@example.org')``)\n- Various bug fixes\n- Added ``rewrite_to`` argument to Mail class constructor method. This causes\n all messages to be rewritten to the given address(es), and is\n expected to be used for development/testing.\n- Added ``bcc`` argument to Mail class constructor method. This causes\n all messages to be bcc'd to the given address(es).\n- Added ``suppress_send`` argument to the Mail class constructor. This\n causes messages to not be sent (but may be still accessed via\n ``Mail.subscribe``)\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/ollyc/mailsend", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "mailsend", "package_url": "https://pypi.org/project/mailsend/", "platform": "any", "project_url": "https://pypi.org/project/mailsend/", "project_urls": { "Homepage": "https://bitbucket.org/ollyc/mailsend" }, "release_url": "https://pypi.org/project/mailsend/0.1.5/", "requires_dist": [ "envparse (>=0.2)" ], "requires_python": "", "summary": "Fork of tinysmtp with bug fixes and python 3 compatibility", "version": "0.1.5" }, "last_serial": 5416830, "releases": { "0.0": [], "0.1": [ { "comment_text": "", "digests": { "md5": "3f581a7dec9b80e581df3db6068e6571", "sha256": "4d6c6849789d0b413cf1da67d2fdabb1e614dd25fda2df18666017635dfb9ee1" }, "downloads": -1, "filename": "mailsend-0.1.tar.gz", "has_sig": false, "md5_digest": "3f581a7dec9b80e581df3db6068e6571", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7031, "upload_time": "2015-12-19T13:30:01", "url": "https://files.pythonhosted.org/packages/47/27/297d3560063f0a6b4cb0bd50915aea5738cd27e515e7621456c24813cfa2/mailsend-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "97a941dd79eaf513854804bc008e10ec", "sha256": "3bca9fe8ab4e541a3c828f6ab565059f97af3a3ad6954769cca42564fb6488bc" }, "downloads": -1, "filename": "mailsend-0.1.1.tar.gz", "has_sig": false, "md5_digest": "97a941dd79eaf513854804bc008e10ec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7107, "upload_time": "2015-12-21T08:00:04", "url": "https://files.pythonhosted.org/packages/fe/84/7a9b334a18b738f9c97439dac3eff155c42582d9052fddf32dbed847041e/mailsend-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "579fa27f8b0a37f77f71f5198821d992", "sha256": "4d0b85b0fed5034e6655b1975b226cd32e559f94cee5e792f64fc09cfae573ae" }, "downloads": -1, "filename": "mailsend-0.1.2.tar.gz", "has_sig": false, "md5_digest": "579fa27f8b0a37f77f71f5198821d992", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7868, "upload_time": "2016-09-02T18:41:54", "url": "https://files.pythonhosted.org/packages/d4/fa/ccad2927e3ed025eabffb9a372d2a57e13b72cb13ffe793cfb2edb0fe09b/mailsend-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "3ee341dc5cc692e6ab1997956a9e4ba7", "sha256": "0524ccc3b9afa4d0ca3b95b7be689217c68c78a493f4593d710b51d27663754a" }, "downloads": -1, "filename": "mailsend-0.1.3-py2-none-any.whl", "has_sig": false, "md5_digest": "3ee341dc5cc692e6ab1997956a9e4ba7", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 8438, "upload_time": "2017-04-19T19:49:07", "url": "https://files.pythonhosted.org/packages/22/eb/c4d476f4830462655b9faa02938f0237b24fb83fa842ed8de5f43a78613e/mailsend-0.1.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0f631c46f7f4870134633306adb2d354", "sha256": "1e2a81999f81689a8b441e577317c4fecdfabd25cf56244c3c8e90c2f7728dd6" }, "downloads": -1, "filename": "mailsend-0.1.3.tar.gz", "has_sig": false, "md5_digest": "0f631c46f7f4870134633306adb2d354", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7771, "upload_time": "2017-04-19T19:49:11", "url": "https://files.pythonhosted.org/packages/a3/0d/8606ea1ba212cae18aa4a1eb5341fbb215134f6ff1b39941f1d7883e7e9c/mailsend-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "15cd3835fc8bec394c35a908461a1d69", "sha256": "d3a76fe1fab819e59297809d37486ef0cdc2fd2a6cae66ca500977dad4d1130d" }, "downloads": -1, "filename": "mailsend-0.1.4-py2-none-any.whl", "has_sig": false, "md5_digest": "15cd3835fc8bec394c35a908461a1d69", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 8619, "upload_time": "2017-08-27T16:37:31", "url": "https://files.pythonhosted.org/packages/2a/c8/38e47b8562db5047d0486e7565aad4b809e1adb9a19c81602e55a0eb6c53/mailsend-0.1.4-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7aebe14d0c59f755a7f1f98d362183d6", "sha256": "2e175debe471d664416bc85bbcb481e4936543c783ce5274a1da58a55c78b8d3" }, "downloads": -1, "filename": "mailsend-0.1.4.tar.gz", "has_sig": false, "md5_digest": "7aebe14d0c59f755a7f1f98d362183d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7917, "upload_time": "2017-08-27T16:37:33", "url": "https://files.pythonhosted.org/packages/67/ac/85742730c3f7b470a64c08a2a98e23e16406ee1b5b8024194a2adb314912/mailsend-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "090d9f7db5b787d7533bb1fc13886066", "sha256": "519842196e0b68226be325983e71cf6eeb32579e33cf6a8ea6629872d62e7c89" }, "downloads": -1, "filename": "mailsend-0.1.5-py3-none-any.whl", "has_sig": false, "md5_digest": "090d9f7db5b787d7533bb1fc13886066", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8695, "upload_time": "2019-06-18T19:26:40", "url": "https://files.pythonhosted.org/packages/86/ee/e1b583b2ce54dd70b7ea68ca7722fef235edff5bd464e1b1bc668999dfaa/mailsend-0.1.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e97dbce8d432b6dd2d7494c1ef5b8106", "sha256": "f529be00fafc7cf75084339308bcadc73e83c2cc477b2185700eb1e276f12c4f" }, "downloads": -1, "filename": "mailsend-0.1.5.tar.gz", "has_sig": false, "md5_digest": "e97dbce8d432b6dd2d7494c1ef5b8106", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8050, "upload_time": "2019-06-18T19:26:41", "url": "https://files.pythonhosted.org/packages/03/78/73a80ab7009914fa0a410ea698c06adb6f8dd8b9145e7b68a1a96dd8affa/mailsend-0.1.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "090d9f7db5b787d7533bb1fc13886066", "sha256": "519842196e0b68226be325983e71cf6eeb32579e33cf6a8ea6629872d62e7c89" }, "downloads": -1, "filename": "mailsend-0.1.5-py3-none-any.whl", "has_sig": false, "md5_digest": "090d9f7db5b787d7533bb1fc13886066", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8695, "upload_time": "2019-06-18T19:26:40", "url": "https://files.pythonhosted.org/packages/86/ee/e1b583b2ce54dd70b7ea68ca7722fef235edff5bd464e1b1bc668999dfaa/mailsend-0.1.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e97dbce8d432b6dd2d7494c1ef5b8106", "sha256": "f529be00fafc7cf75084339308bcadc73e83c2cc477b2185700eb1e276f12c4f" }, "downloads": -1, "filename": "mailsend-0.1.5.tar.gz", "has_sig": false, "md5_digest": "e97dbce8d432b6dd2d7494c1ef5b8106", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8050, "upload_time": "2019-06-18T19:26:41", "url": "https://files.pythonhosted.org/packages/03/78/73a80ab7009914fa0a410ea698c06adb6f8dd8b9145e7b68a1a96dd8affa/mailsend-0.1.5.tar.gz" } ] }