{ "info": { "author": "Nick M.", "author_email": "nickmasster@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Communications :: Email" ], "description": "========\nxsmtplib\n========\n\nAn extension of standard smtplib, which supports proxy tunneling.\n\nPackage works on Python 2.7+ and Python 3.5+.\n\nUsing `PySocks `_.\n\nInstallation\n============\nYou can install **xsmtplib** from `PyPI `_ by running::\n\n pip install xsmtplib\n\nOr you can just download tarball / clone the repository and run::\n\n python setup.py install\n\nAlternatively, include just *xsmtplib.py* in your project.\n\nUsage\n=====\n\n**xsmtplib** extends standard python smtplib, so it can be used instead without any compatibility issues.\n\nConnection to SMTP server via proxy can be done during instance initialization::\n\n from xsmtplib import SMTP\n\n server = SMTP(host=\"smtp.example.com\", proxy_host=\"proxy.example.com\")\n server.sendmail(\"user@example.com\", \"admin@example.com\", \"I have an issue. Please help!\")\n server.quit()\n\nAlternatively, you can connect to SMTP server manually when you need to::\n\n from xsmtplib import SMTP\n\n server = SMTP(timeout=30)\n server.set_debuglevel(1)\n server.connect_proxy(proxy_host=\"proxy.example.com\", host=\"smtp.example.com\")\n server.helo(\"user@example.com\")\n server.sendmail(\"user@example.com\", \"admin@example.com\", \"I have an issue. Please help!\")\n s.quit()\n\nKnown issues\n============\nSMTPS (SSL SMTP) and LMTP connections via proxy are not supported yet.\n\nLicense\n=======\n\nSee LICENSE file for more details.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/nickmasster/xsmtplib", "keywords": "smtp proxy email socks4 socks5 http", "license": "GPL v3", "maintainer": null, "maintainer_email": null, "name": "xsmtplib", "package_url": "https://pypi.org/project/xsmtplib/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/xsmtplib/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/nickmasster/xsmtplib" }, "release_url": "https://pypi.org/project/xsmtplib/1.0.0.dev1/", "requires_dist": null, "requires_python": null, "summary": "An extension of standard smtplib, which supports proxy tunneling", "version": "1.0.0.dev1" }, "last_serial": 2253170, "releases": { "1.0.0.dev1": [ { "comment_text": "", "digests": { "md5": "eb0a442d3cdd31890a78aac51e7c822c", "sha256": "c6d1c66ab143609d84dd5297f9f19096107dedf067dcb27acc5a11c4d6140a43" }, "downloads": -1, "filename": "xsmtplib-1.0.0.dev1.tar.gz", "has_sig": false, "md5_digest": "eb0a442d3cdd31890a78aac51e7c822c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16418, "upload_time": "2016-07-30T23:00:11", "url": "https://files.pythonhosted.org/packages/19/2a/46387dfdbaa35b531db141a68aa02545ab7f6eed97a5596f193b1ed3049d/xsmtplib-1.0.0.dev1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "eb0a442d3cdd31890a78aac51e7c822c", "sha256": "c6d1c66ab143609d84dd5297f9f19096107dedf067dcb27acc5a11c4d6140a43" }, "downloads": -1, "filename": "xsmtplib-1.0.0.dev1.tar.gz", "has_sig": false, "md5_digest": "eb0a442d3cdd31890a78aac51e7c822c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16418, "upload_time": "2016-07-30T23:00:11", "url": "https://files.pythonhosted.org/packages/19/2a/46387dfdbaa35b531db141a68aa02545ab7f6eed97a5596f193b1ed3049d/xsmtplib-1.0.0.dev1.tar.gz" } ] }