{ "info": { "author": "Evandro Myller", "author_email": "emyller@7ws.co", "bugtrack_url": null, "classifiers": [ "Framework :: Django", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Software Development" ], "description": "# django-emailer\n\nTemplate based email sending with SMTP connection management. Use this along\nwith your transactional email sending provider.\n\n\n## Install\n\nGet ready for a long process.\n\n\t$ pip install django-emailer\n\nAdd `'emailer'` to your `INSTALLED_APPS` setting then migrate/sync\nemailer models into the database.\n\n\t$ python manage.py syncdb\n\nDone.\n\n\n## How to use\n\nYou now have two new entities to play with: `ConnectionProfile` and\n`EmailTemplate`. Reach them through Django's admin to configure new SMTP\nconnections to use and set up your email templates as such:\n\n* `Name`: uppercase, underscode-separated words, **invariable** name to\ndefine your template.\n* `Connection profile`: the STMP connection profile you created.\n* `Base template name`: set a different one of yours if you need a fancy\nemail template. Otherwise, `email/default.html` is just fine.\n* `Subject`: your email subject. Accepts Django context dictionary.\n* `Content`: you email body. Will be rendered into the `{{ content }}`\ntemplate variable. Accepts Django context dictionary, of course.\n\nemailer has a very simple API, usable as follows:\n\n\tfrom emailer.models import EmailTemplate\n\n\n\temail = EmailTemplate.get('YOUR_EMAIL_TEMPLATE_NAME').render(\n\t\tto='recipient@example.com',\n\t\tcontext={\n\t\t\t'customer_name': 'John Doe',\n\t\t})\n\temail.send()\n\nNote that the `context` argument will be used for both the subject and\ncontent of your email.\n\n**Protip**: Load your email templates into a fixture to ease the deploy\nprocess. You may also need to have them dumped into test fixtures if you\n[hopefully] write unit tests to your application.\n", "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/7ws/django-emailer", "keywords": "django,email,smtp", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django-emailer", "package_url": "https://pypi.org/project/django-emailer/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-emailer/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/7ws/django-emailer" }, "release_url": "https://pypi.org/project/django-emailer/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "Template based email sending with SMTP connection management", "version": "0.2.1" }, "last_serial": 1236996, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "5f8aed7662fbaa445e03f3b13d85df1d", "sha256": "50e65e19931d05ad9909cd25f07218d50f9ac12f04e3463c7ab721a8a4e7b130" }, "downloads": -1, "filename": "django-emailer-0.1.tar.gz", "has_sig": false, "md5_digest": "5f8aed7662fbaa445e03f3b13d85df1d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2613, "upload_time": "2014-09-11T01:13:46", "url": "https://files.pythonhosted.org/packages/a8/1e/282f1f1dc772c87cd7a8415e63259b3882d5a850db9cb370e808607a9381/django-emailer-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "8aaf870a14f483ad5b0c261f8448cb69", "sha256": "921c3f5c2b50c53313688951d5de878f42318c614687af987a7f431a65cc8d98" }, "downloads": -1, "filename": "django-emailer-0.1.1.tar.gz", "has_sig": false, "md5_digest": "8aaf870a14f483ad5b0c261f8448cb69", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2618, "upload_time": "2014-09-11T01:18:47", "url": "https://files.pythonhosted.org/packages/4a/37/df34a2fee80d59276d3e7724d2ec976bc9fa4b09e9fe08c2dd1c50f4bfd4/django-emailer-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "49a1f34e867733edfb285ded98839cd1", "sha256": "ae5372be18882a1241cb8b7dace9ab93580e8a1652bc03050783ab999d383c2b" }, "downloads": -1, "filename": "django-emailer-0.1.2.tar.gz", "has_sig": false, "md5_digest": "49a1f34e867733edfb285ded98839cd1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2627, "upload_time": "2014-09-11T01:22:00", "url": "https://files.pythonhosted.org/packages/14/45/0aa7163c8d30a84f99f23756a94325fb5ffef9d32e79591d3190e38f8eeb/django-emailer-0.1.2.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "2e0075cff38c384965c1bc1d86572cdd", "sha256": "2350b47b96aa2be1197999e27958b663a438ae3e208fbf3ff8516070947641cd" }, "downloads": -1, "filename": "django-emailer-0.2.tar.gz", "has_sig": false, "md5_digest": "2e0075cff38c384965c1bc1d86572cdd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4653, "upload_time": "2014-09-23T06:26:39", "url": "https://files.pythonhosted.org/packages/80/3f/1b899d06fbfe5cc2939f7cc66e010e112c31b905851844d52b71ea27faed/django-emailer-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "bfa7d4d2fea544abc63205bbc43b4cd9", "sha256": "3c3ce11f0422869cbc1807bbd62d5e046e2b78e428f801114347a33df28db303" }, "downloads": -1, "filename": "django-emailer-0.2.1.tar.gz", "has_sig": false, "md5_digest": "bfa7d4d2fea544abc63205bbc43b4cd9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5072, "upload_time": "2014-09-24T21:54:13", "url": "https://files.pythonhosted.org/packages/07/d7/4ea8c902bbaef88b145b6cac5e264c62ed6a7234f2bebd0c123117e86e84/django-emailer-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bfa7d4d2fea544abc63205bbc43b4cd9", "sha256": "3c3ce11f0422869cbc1807bbd62d5e046e2b78e428f801114347a33df28db303" }, "downloads": -1, "filename": "django-emailer-0.2.1.tar.gz", "has_sig": false, "md5_digest": "bfa7d4d2fea544abc63205bbc43b4cd9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5072, "upload_time": "2014-09-24T21:54:13", "url": "https://files.pythonhosted.org/packages/07/d7/4ea8c902bbaef88b145b6cac5e264c62ed6a7234f2bebd0c123117e86e84/django-emailer-0.2.1.tar.gz" } ] }