{ "info": { "author": "David Garcia Garzon", "author_email": "voki@canvoki.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Communications :: Email :: Email Clients (MUA)", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Emili\n=====\n\nSimple interface for sending mails. Turns input formats such as Markdown\nor console outputs using ANSI colors into nice dual plaintext/html\nmessages.\n\nModule usage\n------------\n\n.. code:: python\n\n import emili\n\n content = \"\"\"\n # this is a title\n\n Read **this** is very _important_!!\n\n \"\"\"\n\n emili.sendmail(\n from = \"me@acme.cat\",\n to = [ \"abe@acme.cat\", \"bill@acme.cat\" ],\n bcc = [ \"me@acme.cat\" ],\n subject = \"About this email\"\n md = content,\n attachments = [ 'onefile.pdf' ],\n config = '../config.py',\n )\n\nRight now a config.py file is required containing the configuration\noptions for the SMTP connection in a dictionary named ``smtp``:\n\n.. code:: python\n\n smtp=dict(\n host='smtp.acme.cat',\n port='',\n user='roadrunner@acme.cat',\n password='mecmec',\n )\n\nCommand line usage\n------------------\n\n::\n\n usage: emili.py [-h] -f SENDER -s SUBJECT -t recipient [--body TEXT]\n [--bodyfile BODYFILE] [-C CONFIG.PY] [-c CC] [-b BCC]\n [-r REPLYTO] [--format FORMAT] [--style CSSFILE]\n [--template TEMPLATE] [--dump OUTPUTFILE.eml]\n [FILE [FILE ...]]\n\n Sends an email.\n\n positional arguments:\n FILE File to attach\n\n optional arguments:\n -h, --help show this help message and exit\n -f SENDER, --from SENDER\n Message sender ('From:' header)\n -s SUBJECT, --subject SUBJECT\n Message subject ('Subject:' header)\n -t recipient, --to recipient\n Message recipient ('To:' header) (multiple)\n --body TEXT Message body (defaults to stdin)\n --bodyfile BODYFILE File containing the message body (defaults to stdin)\n -C CONFIG.PY, --config CONFIG.PY\n Python Module with smtp configuration defined.\n -c CC, --cc CC Message copy recipient ('CC:' header) (multiple)\n -b BCC, --bcc BCC Message hidden copy recipient ('BCC:' header)\n (multiple), other recipients won't see this header\n -r REPLYTO, --replyto REPLYTO\n Default address to reply at ('Reply-To:' header)\n (multiple)\n --format FORMAT Format for the body. 'md' takes markdown and generates\n both html and text. 'ansi' does the same, turning ANSI\n color codes in html or stripping them for text.\n --style CSSFILE Style sheet for the html output, (multiple)\n --template TEMPLATE Alternative template for the html body.\n --dump OUTPUTFILE.eml\n Instead of sending, dump the email into a file\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Som-Energia/emili", "keywords": "", "license": "GNU General Public License v3 or later (GPLv3+)", "maintainer": "", "maintainer_email": "", "name": "emili", "package_url": "https://pypi.org/project/emili/", "platform": "", "project_url": "https://pypi.org/project/emili/", "project_urls": { "Homepage": "https://github.com/Som-Energia/emili" }, "release_url": "https://pypi.org/project/emili/1.5/", "requires_dist": null, "requires_python": "", "summary": "Mail sending Python/CLI interface using markdown or ANSI codes based content", "version": "1.5" }, "last_serial": 5093495, "releases": { "1.0": [], "1.1": [ { "comment_text": "", "digests": { "md5": "96504c4bc3cd3e084998026c75665677", "sha256": "7f99106fff336fc1c34b8ed03d1e8855916932c96f6ff14214f71e7311802f94" }, "downloads": -1, "filename": "emili-1.1.tar.gz", "has_sig": false, "md5_digest": "96504c4bc3cd3e084998026c75665677", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4314, "upload_time": "2016-01-12T17:26:52", "url": "https://files.pythonhosted.org/packages/39/d8/8eaee237c94b216d3fcb8bd62dcf40120cdee84ef97eb6bc47fbb9de3aac/emili-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "92668f94f5ad3b3154ca4985be20e64b", "sha256": "b644953eb4e5fc898a1697250485134aa0bb53ea7f230bffe1eae4c1b9818486" }, "downloads": -1, "filename": "emili-1.2.tar.gz", "has_sig": false, "md5_digest": "92668f94f5ad3b3154ca4985be20e64b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5145, "upload_time": "2016-03-28T17:38:03", "url": "https://files.pythonhosted.org/packages/0e/d7/196fc0d78ffcaea3e6c75e0c41888a6664b9d2505139899d83b48906e8d5/emili-1.2.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "873001148ecd9746abcb4aaec078fae8", "sha256": "bfbe1e4790aad9f6c9938b0f058903c9b4ba4bc2422f7e4fd7e41343418b9583" }, "downloads": -1, "filename": "emili-1.3.tar.gz", "has_sig": false, "md5_digest": "873001148ecd9746abcb4aaec078fae8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5269, "upload_time": "2016-11-02T09:36:44", "url": "https://files.pythonhosted.org/packages/66/e4/a67db4ea5486d9ee6526fd6c8cc6eaebe42d21f6f74feb71c6a3ddc42ac5/emili-1.3.tar.gz" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "da07a7683b550d87ba58b82456767e8f", "sha256": "4038b206c3dd16bcb2c5a3f9325fa9acf1ed0bb37ee65c0f4053b0c9a4d876d6" }, "downloads": -1, "filename": "emili-1.4.tar.gz", "has_sig": false, "md5_digest": "da07a7683b550d87ba58b82456767e8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5262, "upload_time": "2017-07-02T13:51:09", "url": "https://files.pythonhosted.org/packages/fd/92/bbc62fed8a41acef1355b8738edc3247c430ff03816a56e707819b44ae1e/emili-1.4.tar.gz" } ], "1.5": [ { "comment_text": "", "digests": { "md5": "2a56b7e2e185b3388fe0dd1923c2ed52", "sha256": "be6925911edc5aa79c79d6faf06620594595e12c20b0cb2a2e28e3015eecf098" }, "downloads": -1, "filename": "emili-1.5.tar.gz", "has_sig": false, "md5_digest": "2a56b7e2e185b3388fe0dd1923c2ed52", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5944, "upload_time": "2019-04-03T23:09:35", "url": "https://files.pythonhosted.org/packages/d9/c6/4edb3c498127a59e2f534c05e73f8fa40a1d90e8f2f4e7f95a144cd753ce/emili-1.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2a56b7e2e185b3388fe0dd1923c2ed52", "sha256": "be6925911edc5aa79c79d6faf06620594595e12c20b0cb2a2e28e3015eecf098" }, "downloads": -1, "filename": "emili-1.5.tar.gz", "has_sig": false, "md5_digest": "2a56b7e2e185b3388fe0dd1923c2ed52", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5944, "upload_time": "2019-04-03T23:09:35", "url": "https://files.pythonhosted.org/packages/d9/c6/4edb3c498127a59e2f534c05e73f8fa40a1d90e8f2f4e7f95a144cd753ce/emili-1.5.tar.gz" } ] }