{ "info": { "author": "Ryan Ginstrom", "author_email": "ryan@ginstrom.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: MIT License", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 3" ], "description": "Here are some of the features:\r\n\r\n* Single class to send plain text, HTML email, and attachments\r\n* Auto detects attachment types\r\n* Support for internationalized headers\r\n\r\nChanges in version 0.3\r\n----------------------\r\n\r\nThe API for Mailer.To is changed. Use a string to specify a single recipient,\r\nand an iterable to specify more than one.\r\n\r\nChanges in version 0.4\r\n----------------------\r\n\r\nYou can now specify the port in Mailer ::\r\n\r\n from mailer import Mailer\r\n sender = Mailer('smtp.example.com', port=20)\r\n\r\nChanges in version 0.5\r\n----------------------\r\n\r\n* Message.attach takes an optional cid argument.\r\n* You can now send HTML emails with attachments\r\n\r\nThanks to Douglas Mayle for his patch for this.\r\n\r\nChanges in version 0.6\r\n----------------------\r\n\r\n* Can now select port\r\n* Supports gmail\r\n\r\nChanges in version 0.7\r\n----------------------\r\n\r\n* You can now specify MIME type::\r\n\r\n msg.attach(\"picture.png\", mimetype=\"image/png\")\r\n\r\nChanges in version 0.8\r\n----------------------\r\n\r\n* Various bug fixes\r\n\r\nExamples\r\n------------------\r\n\r\n**Sending an HTML email:** ::\r\n\r\n from mailer import Mailer\r\n from mailer import Message\r\n \r\n message = Message(From=\"me@example.com\",\r\n To=\"you@example.com\",\r\n charset=\"utf-8\")\r\n message.Subject = \"An HTML Email\"\r\n message.Html = \"\"\"This email uses HTML!\"\"\"\r\n message.Body = \"\"\"This is alternate text.\"\"\"\r\n \r\n sender = Mailer('smtp.example.com')\r\n sender.send(message)\r\n\r\n**Sending an attachment:** ::\r\n\r\n from mailer import Mailer\r\n from mailer import Message\r\n \r\n message = Message(From=\"me@example.com\",\r\n To=[\"you@example.com\", \"him@example.com\"],\r\n Subject=\"Cute Cat\")\r\n message.Body = \"\"\"Kittens with dynamite\"\"\"\r\n message.attach(\"kitty.jpg\")\r\n\r\n sender = Mailer('smtp.example.com')\r\n sender.send(message)\r\n\r\nTested with Python 2.4, 2.5, and 2.6", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/ginstrom/mailer", "keywords": "email,smtp", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "mailer", "package_url": "https://pypi.org/project/mailer/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/mailer/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://bitbucket.org/ginstrom/mailer" }, "release_url": "https://pypi.org/project/mailer/0.8.1/", "requires_dist": null, "requires_python": null, "summary": "A module to send email simply in Python", "version": "0.8.1" }, "last_serial": 1515735, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "2e8d957d740f49084f601c4019ce9711", "sha256": "4e41f0ec829e84bcde258e50c295d35a51432eef7242f3e80406520302707164" }, "downloads": -1, "filename": "mailer-0.2.win32.exe", "has_sig": false, "md5_digest": "2e8d957d740f49084f601c4019ce9711", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 64645, "upload_time": "2009-03-29T04:30:25", "url": "https://files.pythonhosted.org/packages/b1/de/863d238c6f3510bfc824bf823e93a93daeb577acbadc07760575fe4bbec2/mailer-0.2.win32.exe" }, { "comment_text": "", "digests": { "md5": "e481c44cc66c212b13ddc273c799284a", "sha256": "e9cd06c03928222abc24c0551a4dfa93d5df9f5c58ef1b5b0d9b6214e764462a" }, "downloads": -1, "filename": "mailer-0.2.zip", "has_sig": false, "md5_digest": "e481c44cc66c212b13ddc273c799284a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3043, "upload_time": "2009-03-29T04:30:11", "url": "https://files.pythonhosted.org/packages/1a/e0/e4e1d1bca60fcf7ab73abc67fe4bdb8237024ef8f4a5ccf075fb9b7f3a54/mailer-0.2.zip" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "a46757c2e3deffc29779aeb92a9236ea", "sha256": "47ae6888b3ffafc5813198fa8d1eaaccae0f7af13d019fb117639734978685f9" }, "downloads": -1, "filename": "mailer-0.3.win32.exe", "has_sig": false, "md5_digest": "a46757c2e3deffc29779aeb92a9236ea", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 64554, "upload_time": "2009-04-25T10:39:29", "url": "https://files.pythonhosted.org/packages/dd/4e/3a792aded557e24c69e416eb601321d9db3b668dc9f635388a53fedf4879/mailer-0.3.win32.exe" }, { "comment_text": "", "digests": { "md5": "5eafd6fccc01e7dbb56337f46dd443e3", "sha256": "2fb818e8309e3fd2a99a638e22100f1dfabc144ce144491e05c1514949af7c41" }, "downloads": -1, "filename": "mailer-0.3.zip", "has_sig": false, "md5_digest": "5eafd6fccc01e7dbb56337f46dd443e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2952, "upload_time": "2009-04-25T10:39:09", "url": "https://files.pythonhosted.org/packages/8c/c8/63529829e1ba9c83f8fdc54eabd011de0f7ab361e84e9107e37c5cdd1c7f/mailer-0.3.zip" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "c81a18c3d6c723c90aa7ae85bcb2c699", "sha256": "916ab4220c227073167d46d8d6e40916559a1e831a089c725946a69d58d8a766" }, "downloads": -1, "filename": "mailer-0.4.win32.exe", "has_sig": false, "md5_digest": "c81a18c3d6c723c90aa7ae85bcb2c699", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 64569, "upload_time": "2009-05-07T12:43:55", "url": "https://files.pythonhosted.org/packages/32/06/8dbd9748fd7c7c314e043911965b8238c4bebdd1817a25bb1cf72071ed86/mailer-0.4.win32.exe" }, { "comment_text": "", "digests": { "md5": "610cde995ac360ed46dce710ca0457f0", "sha256": "8e2fe1c12b60ec440345f038aff7a997029917b5446a9546c37486b831be341f" }, "downloads": -1, "filename": "mailer-0.4.zip", "has_sig": false, "md5_digest": "610cde995ac360ed46dce710ca0457f0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2967, "upload_time": "2009-05-07T12:43:29", "url": "https://files.pythonhosted.org/packages/21/d4/840a1379404e56f8df8f4b6ca7efd97e0b09eb0b10ac1b88a6ae051c7b52/mailer-0.4.zip" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "6fed59dfd8a8905e7889f8482c3e3460", "sha256": "d8c51e52fe728c54abdfdc273ae138076122512aea2769f859c11674e64b44f3" }, "downloads": -1, "filename": "mailer-0.5.win32.exe", "has_sig": false, "md5_digest": "6fed59dfd8a8905e7889f8482c3e3460", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 64775, "upload_time": "2009-05-28T02:40:39", "url": "https://files.pythonhosted.org/packages/2d/3e/9cc17924f7f949dc43c25ead270f8f890b2663aeb075db3749b5e3a3b758/mailer-0.5.win32.exe" }, { "comment_text": "", "digests": { "md5": "f78c8b7e1e6e740f9fd6893b9c2bd015", "sha256": "1395135dd7442a3d1de4a593cd6e759391191b60f59a5cdc80cd46683575a18a" }, "downloads": -1, "filename": "mailer-0.5.zip", "has_sig": false, "md5_digest": "f78c8b7e1e6e740f9fd6893b9c2bd015", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3173, "upload_time": "2009-05-28T02:39:32", "url": "https://files.pythonhosted.org/packages/32/c6/3612ba5581c46a5bb9e429edda3e2cca401be210d57689734912e4263167/mailer-0.5.zip" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "9295acc55b1a4aef4206c772bc12c822", "sha256": "81c7ce3d6445afeb75094a0aafa3773056038d75e53ac0abfe1edd87853faf8b" }, "downloads": -1, "filename": "mailer-0.6.win32.exe", "has_sig": false, "md5_digest": "9295acc55b1a4aef4206c772bc12c822", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 200358, "upload_time": "2010-12-26T06:17:49", "url": "https://files.pythonhosted.org/packages/c9/75/71175c680dddb6f65c6008a212c84e5372d14c688e7ea80485248f425e91/mailer-0.6.win32.exe" }, { "comment_text": "", "digests": { "md5": "cec399f3008da66d37df860239731b32", "sha256": "dc00eb044a4bb8dea4cbd980337c57cc590f4080ee6a0e78339518e3f39e3cb1" }, "downloads": -1, "filename": "mailer-0.6.zip", "has_sig": false, "md5_digest": "cec399f3008da66d37df860239731b32", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4100, "upload_time": "2010-12-26T06:21:51", "url": "https://files.pythonhosted.org/packages/37/9c/5c1975579545671b1e256616cb5c28db3663ed594148658d7f747795b6d2/mailer-0.6.zip" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "d34c4e613387ecb1e9990b23d48d56df", "sha256": "f8b6d17508276618ca67e101b5facc5cd443457976621dca632f89d106408a9e" }, "downloads": -1, "filename": "mailer-0.7.win32.exe", "has_sig": false, "md5_digest": "d34c4e613387ecb1e9990b23d48d56df", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 200389, "upload_time": "2011-02-01T02:06:57", "url": "https://files.pythonhosted.org/packages/9a/b5/0d35acbcb4f0dae03f6e965d44709392e1e0cbd85cf39937ddd52edeccea/mailer-0.7.win32.exe" }, { "comment_text": "", "digests": { "md5": "13f4ae9de5ea7ac49927b028d87f105e", "sha256": "294097bdd3698d1268b3bc07d90b3b47b56cce47c61a394322ac68f9fee0f8f3" }, "downloads": -1, "filename": "mailer-0.7.zip", "has_sig": false, "md5_digest": "13f4ae9de5ea7ac49927b028d87f105e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4131, "upload_time": "2011-02-01T02:06:36", "url": "https://files.pythonhosted.org/packages/fe/71/f72efcf5c1dfa812971bd6a590244f462dfa5bb026c6bdc97c7208461ec8/mailer-0.7.zip" } ], "0.8": [ { "comment_text": "", "digests": { "md5": "8539c24d90a82506f4cbf64ce4f3c2c0", "sha256": "6e5e49db2b7642ba6a3a8d5bf607ca9015d218daafb1aa94bae25c2cd310df7a" }, "downloads": -1, "filename": "mailer.0.8.0.win32.exe", "has_sig": false, "md5_digest": "8539c24d90a82506f4cbf64ce4f3c2c0", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 202034, "upload_time": "2015-04-01T04:52:56", "url": "https://files.pythonhosted.org/packages/88/23/32793cd57a305039ef7eb7137834cbf13d3939d9ef313af07fdf664bd670/mailer.0.8.0.win32.exe" }, { "comment_text": "", "digests": { "md5": "c64488ec30a09464395dff17fb21721a", "sha256": "00f43be91bc4633a9c633f88e355288fb8df170e21155a7a4c5441a1739f25df" }, "downloads": -1, "filename": "mailer.0.8.0.zip", "has_sig": false, "md5_digest": "c64488ec30a09464395dff17fb21721a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6512, "upload_time": "2015-04-01T04:52:39", "url": "https://files.pythonhosted.org/packages/85/f3/29e01fc824382755107e8026c1adea4449d1e070a25f43675a5dd858e2df/mailer.0.8.0.zip" } ], "0.8.1": [ { "comment_text": "", "digests": { "md5": "382c12e30f079cf0a0d84bb2bd6b26fb", "sha256": "0a66ab3de3c77e36d4ef744a03d6ee24271546a786580020bb226b7cea65843e" }, "downloads": -1, "filename": "mailer-0.8.1.win32.exe", "has_sig": false, "md5_digest": "382c12e30f079cf0a0d84bb2bd6b26fb", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 202047, "upload_time": "2015-04-22T03:10:28", "url": "https://files.pythonhosted.org/packages/8c/12/64abb34c14d2bbb27e0c08dcaa9afccc8abb2e6c7945377d73291ea44d97/mailer-0.8.1.win32.exe" }, { "comment_text": "", "digests": { "md5": "6f5f0ed09dd7abfe482c8de606a78b5c", "sha256": "3411a12197731e0d5379ab194d9acc8d0d71c8b95fdfb11474d67c3e9860070e" }, "downloads": -1, "filename": "mailer-0.8.1.zip", "has_sig": false, "md5_digest": "6f5f0ed09dd7abfe482c8de606a78b5c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6524, "upload_time": "2015-04-22T03:10:23", "url": "https://files.pythonhosted.org/packages/30/e7/c3a932fc03ab95c96ff911d8ee3e89b937205596a5c1f00849401a2468e0/mailer-0.8.1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "382c12e30f079cf0a0d84bb2bd6b26fb", "sha256": "0a66ab3de3c77e36d4ef744a03d6ee24271546a786580020bb226b7cea65843e" }, "downloads": -1, "filename": "mailer-0.8.1.win32.exe", "has_sig": false, "md5_digest": "382c12e30f079cf0a0d84bb2bd6b26fb", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 202047, "upload_time": "2015-04-22T03:10:28", "url": "https://files.pythonhosted.org/packages/8c/12/64abb34c14d2bbb27e0c08dcaa9afccc8abb2e6c7945377d73291ea44d97/mailer-0.8.1.win32.exe" }, { "comment_text": "", "digests": { "md5": "6f5f0ed09dd7abfe482c8de606a78b5c", "sha256": "3411a12197731e0d5379ab194d9acc8d0d71c8b95fdfb11474d67c3e9860070e" }, "downloads": -1, "filename": "mailer-0.8.1.zip", "has_sig": false, "md5_digest": "6f5f0ed09dd7abfe482c8de606a78b5c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6524, "upload_time": "2015-04-22T03:10:23", "url": "https://files.pythonhosted.org/packages/30/e7/c3a932fc03ab95c96ff911d8ee3e89b937205596a5c1f00849401a2468e0/mailer-0.8.1.zip" } ] }