{ "info": { "author": "Denis Bobrov", "author_email": "delneg@yandex.ru", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Django", "Framework :: Django :: 1.10", "Framework :: Django :: 1.11", "Framework :: Django :: 1.9", "Framework :: Django :: 2.0", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "=============================\nDjango Mail Admin\n=============================\n\n.. image:: https://badge.fury.io/py/django_mail_admin.svg\n :target: https://badge.fury.io/py/django_mail_admin\n\n.. image:: https://travis-ci.org/Bearle/django_mail_admin.svg?branch=master\n :target: https://travis-ci.org/Bearle/django_mail_admin\n\n.. image:: https://codecov.io/gh/delneg/django_mail_admin/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/delneg/django_mail_admin\n\nThe one and only django app to receive & send mail with templates and multiple configurations.\n\n\nScreenshots\n-----------\n\n.. image:: https://github.com/Bearle/django_mail_admin/blob/master/screenshots/1.jpg?raw=true\n.. image:: https://github.com/Bearle/django_mail_admin/blob/master/screenshots/2.jpg?raw=true\n\nFeatures\n--------\n\n* Everything django-mailbox has\n* Everything django-post-office has\n* Database configurations - activate an outbox to send from, activate a mailbox to receive from\n* Templates\n* Translatable\n* Mailings - using send_many() or 'cc' and 'bcc' or even recipients - all of those accept comma-separated lists of emails\n\nDependencies\n============\n\n* `django >= 1.9 `_\n* `django-jsonfield `_\n\nDocumentation\n-------------\n\nThe full documentation is at https://django_mail_admin.readthedocs.io.\n\nQuickstart\n----------\n\n**Q**: What versions of Django/Python are supported?\n**A**: Take a look at https://travis-ci.org/delneg/django_mail_admin\n\nInstall django mail admin::\n\n pip install django_mail_admin\n\nAdd it to your `INSTALLED_APPS`:\n\n.. code-block:: python\n\n INSTALLED_APPS = (\n ...\n 'django_mail_admin',\n ...\n )\n\n* Run ``migrate``::\n\n python manage.py migrate django_mail_admin\n\n* Set ``django_mail_admin.backends.CustomEmailBackend`` as your ``EMAIL_BACKEND`` in django's ``settings.py``::\n\n EMAIL_BACKEND = 'django_mail_admin.backends.CustomEmailBackend'\n\n\n* Set cron/Celery/RQ job to send/receive email, e.g. ::\n\n * * * * * (cd $PROJECT; python manage.py send_queued_mail --processes=1 >> $PROJECT/cron_mail.log 2>&1)\n * * * * * (cd $PROJECT; python manage.py get_new_mail >> $PROJECT/cron_mail_receive.log 2>&1)\n 0 1 * * * (cd $PROJECT; python manage.py cleanup_mail --days=30 >> $PROJECT/cron_mail_cleanup.log 2>&1)\n\n.. note::\n\n Once you have entered a mailbox to receive emails, you can easily verify that you\n have properly configured your mailbox by either:\n\n * From the Django Admin, using the 'Get New Mail' action from the action\n dropdown on the Mailbox changelist\n * *Or* from a shell opened to your project's directory, using the\n ``get_new_mail`` management command by running::\n\n python manage.py get_new_mail\n\n If you have also configured the Outbox, you can verify that it is working, e.g. ::\n\n from django_mail_admin import mail, models\n\n mail.send(\n 'from@example.com',\n 'recipient@example.com', # List of email addresses also accepted\n subject='My email',\n message='Hi there!',\n priority=models.PRIORITY.now,\n html_message='Hi there!',\n )\n\nCustom Email Backends\n---------------------\n\nBy default, ``django_mail_admin`` uses custom Email Backends that looks up for Outbox models in database. If you want to\nuse a different backend, you can do so by configuring ``BACKENDS``, though you will not be able to use Outboxes and will have to set EMAIL_HOST etc. in django's ``settings.py``.\n\nFor example if you want to use `django-ses `_::\n\n DJANGO_MAIL_ADMIN = {\n 'BACKENDS': {\n 'default': 'django_mail_admin.backends.CustomEmailBackend',\n 'smtp': 'django.core.mail.backends.smtp.EmailBackend',\n 'ses': 'django_ses.SESBackend',\n }\n }\n\nYou can then choose what backend you want to use when sending mail:\n\n.. code-block:: python\n\n # If you omit `backend_alias` argument, `default` will be used\n mail.send(\n 'from@example.com',\n ['recipient@example.com'],\n subject='Hello',\n )\n\n # If you want to send using `ses` backend\n mail.send(\n 'from@example.com',\n ['recipient@example.com'],\n subject='Hello',\n backend='ses',\n )\n\n\n\n\nOptional requirements\n---------------------\n\n1. `django_admin_row_actions` for some useful actions in the admin interface\n2. `requests` & social_django for Gmail\n\n\nFAQ\n---\n\n**Q**: Why did you write this?\n\n**A**: In order to get both email sending & receiving you'll have to install post_office AND django_mailbox.\nEven if you do, you'll have to work on admin interface for it to look prettier, somehow link replies properly etc.\nSo I've decided merging those two and clearing the mess in between them as well as adding some other useful features.\n\n**Q**: Why did you remove support for Python 2?\n\n**A**: Because f*ck python2. Really, it's been 9 (NINE!) years since it came out. Go ahead and check out https://github.com/brettcannon/caniusepython3\n\n**Q**: Why is it named django_mail_admin, what does it have to do with admin ?\n\n**A**: Well, the first version of this package (which was living just in a really large admin.py) was used for easy mail management using standard Django admin interface.\n\n**Q**: What languages are available?\n\n**A**: Currently there's Russian and English languages available. Feel free to add yours:\n\n::\n\n source /bin/activate\n python manage.py makemessages -l YOUR_LOCALE -i venv\n python manage.py compilemessages -l YOUR_LOCALE\n\n\n**Q**: Why did you delete support for multi-lingual templates?\n\n**A**: Well, we have django-model-translations for that. You can easily fork this app and override EmailTemplate model (models/templates.py) accordingly.\nI think there's no need for such an overhead in a mail-related app.\n\n**Q**: I don't want my outgoing emails to be queued for sending after saving them in the admin interface, what do i do?\n\n**A**: Just override OutgoingEmailAdmin's save_model method.\n\n**Q**: Can i get in touch with you? I want a new feature to be implemented/bug fixed!\n\n**A**: Feel free to reach me out using issues and pull requests, I'll review them all and answer when I can.\n\n\n\nRunning Tests\n-------------\n\nDoes the code actually work?\n\n::\n\n source /bin/activate\n (myenv) $ pip install tox\n (myenv) $ tox\n\nCredits\n-------\n\nTools used in rendering this package:\n\n* Cookiecutter_\n* `cookiecutter-djangopackage`_\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/delneg/django_mail_admin", "keywords": "django_mail_admin", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django_mail_admin", "package_url": "https://pypi.org/project/django_mail_admin/", "platform": "", "project_url": "https://pypi.org/project/django_mail_admin/", "project_urls": { "Homepage": "https://github.com/delneg/django_mail_admin" }, "release_url": "https://pypi.org/project/django_mail_admin/0.1.4/", "requires_dist": null, "requires_python": "", "summary": "The one and only django app to receive & send mail with templates and multiple configurations.", "version": "0.1.4" }, "last_serial": 5516038, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "8725e1391c1f9020e95719483d0e0b88", "sha256": "2147ad45015c91af79018768e3254f553605e1dcdd79be4599175a96fb397445" }, "downloads": -1, "filename": "django_mail_admin-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8725e1391c1f9020e95719483d0e0b88", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 47474, "upload_time": "2017-12-29T00:43:33", "url": "https://files.pythonhosted.org/packages/f7/5b/3ff4254129f4cdcda1ce204b62109fc67aa53b900b98106f54cc022d934e/django_mail_admin-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f4abdf973ce7150971b581d97aadc0dd", "sha256": "61dec95a12467aeaaa6f8e3d7e9279d4fa6abf1d5424b0daa186822c8e6ca112" }, "downloads": -1, "filename": "django_mail_admin-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f4abdf973ce7150971b581d97aadc0dd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34495, "upload_time": "2017-12-29T00:43:29", "url": "https://files.pythonhosted.org/packages/c9/f0/416a57f0c6b17614138527eb852b64a088bddfa9af41316e836e881902fc/django_mail_admin-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "8747d56e327f2c4168cf73fe6ae41701", "sha256": "5482e8b98659a355c4343da37948c554caed5ddc42bbe71e71032b71479f8106" }, "downloads": -1, "filename": "django_mail_admin-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8747d56e327f2c4168cf73fe6ae41701", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 47528, "upload_time": "2017-12-29T00:52:44", "url": "https://files.pythonhosted.org/packages/ba/51/f7f649b3a68b2c66abe813cfe03dca19d54399e22a02e738bd5cd271077d/django_mail_admin-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8e9290bef1d21178d72b689230b4accb", "sha256": "d48a41f253f263bc438d4b8ff740a0808d3685a80d86468a9c5e3b615142a980" }, "downloads": -1, "filename": "django_mail_admin-0.1.1.tar.gz", "has_sig": false, "md5_digest": "8e9290bef1d21178d72b689230b4accb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34552, "upload_time": "2017-12-29T00:52:41", "url": "https://files.pythonhosted.org/packages/41/b4/a8c96de3609e6c009860e3ce749c02b49a10918a93a8885ce390d1041486/django_mail_admin-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "db152e8a78f134c2b8fea72dd8445812", "sha256": "01637f70d1e1cd662b1d4414d71c0931471272f5d00381a7bbd87b6456323ef0" }, "downloads": -1, "filename": "django_mail_admin-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "db152e8a78f134c2b8fea72dd8445812", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 49727, "upload_time": "2018-03-11T20:20:01", "url": "https://files.pythonhosted.org/packages/a2/8c/9ae31d12d9f7d4c1537c11fda7b7516f6368263534bf0a4bb4a477cc59a0/django_mail_admin-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c3a55e790d98a5ce59c70ac6fc87444b", "sha256": "8623a23bddcb637cc7c64b136e619694540fd0828c2cc3fa42d14b05f1cd96ef" }, "downloads": -1, "filename": "django_mail_admin-0.1.2.tar.gz", "has_sig": false, "md5_digest": "c3a55e790d98a5ce59c70ac6fc87444b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 35765, "upload_time": "2018-03-11T20:19:57", "url": "https://files.pythonhosted.org/packages/cb/1f/a7cd399d420a5b50554909eb34c99590e132b71f670d2e31f49cfea4fd87/django_mail_admin-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "4dc9c4eb75d404620a10f77d9435038a", "sha256": "f23240cc4fe292158a91eb7fffd07d71be0999ceab886995cc85ac0d02d539d0" }, "downloads": -1, "filename": "django_mail_admin-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4dc9c4eb75d404620a10f77d9435038a", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 50102, "upload_time": "2018-06-02T21:08:35", "url": "https://files.pythonhosted.org/packages/00/bb/5d6019600b82721fbe3863c4939b33197b54a5d3140fe5f15478a209f107/django_mail_admin-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e2eb2c84340b34d7d910095d36a3fd93", "sha256": "8a2d8a58a295c9ce83f054a01466fd1a0a9a968e4f2f2d24faa219fdf789cf0b" }, "downloads": -1, "filename": "django_mail_admin-0.1.3.tar.gz", "has_sig": false, "md5_digest": "e2eb2c84340b34d7d910095d36a3fd93", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36070, "upload_time": "2018-06-02T21:08:31", "url": "https://files.pythonhosted.org/packages/68/5b/6d918ba9170b4c1af6e3516c395ed16331c0201e08d1888504af72004ef0/django_mail_admin-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "f3908a07fdf28cc71fac547a5b47f15b", "sha256": "ff18dd5ae2057a08cdf1484fb21cdad7768b546afbc19622ec08df8ff572f76e" }, "downloads": -1, "filename": "django_mail_admin-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f3908a07fdf28cc71fac547a5b47f15b", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 50261, "upload_time": "2019-07-11T08:19:41", "url": "https://files.pythonhosted.org/packages/e9/1c/3d07bf2f6ccf2c5d72aca34a19ea58a885c98dc82256b04b8265453cfcc3/django_mail_admin-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d08e3ec1271a683a5138ac3a9bde33a0", "sha256": "5a49eb0def1a086e24f71262dc3016f298f304d53d0ae673749f686da8d4da3b" }, "downloads": -1, "filename": "django_mail_admin-0.1.4.tar.gz", "has_sig": false, "md5_digest": "d08e3ec1271a683a5138ac3a9bde33a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36424, "upload_time": "2019-07-11T08:19:34", "url": "https://files.pythonhosted.org/packages/b6/8a/eb66db557e081a20f444d55dea7efc335f636f32bb4a8d35c56f5eec5333/django_mail_admin-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f3908a07fdf28cc71fac547a5b47f15b", "sha256": "ff18dd5ae2057a08cdf1484fb21cdad7768b546afbc19622ec08df8ff572f76e" }, "downloads": -1, "filename": "django_mail_admin-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f3908a07fdf28cc71fac547a5b47f15b", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 50261, "upload_time": "2019-07-11T08:19:41", "url": "https://files.pythonhosted.org/packages/e9/1c/3d07bf2f6ccf2c5d72aca34a19ea58a885c98dc82256b04b8265453cfcc3/django_mail_admin-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d08e3ec1271a683a5138ac3a9bde33a0", "sha256": "5a49eb0def1a086e24f71262dc3016f298f304d53d0ae673749f686da8d4da3b" }, "downloads": -1, "filename": "django_mail_admin-0.1.4.tar.gz", "has_sig": false, "md5_digest": "d08e3ec1271a683a5138ac3a9bde33a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36424, "upload_time": "2019-07-11T08:19:34", "url": "https://files.pythonhosted.org/packages/b6/8a/eb66db557e081a20f444d55dea7efc335f636f32bb4a8d35c56f5eec5333/django_mail_admin-0.1.4.tar.gz" } ] }