{ "info": { "author": "Shobi P P", "author_email": "ppshobi@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "[![Build Status](https://travis-ci.org/ppshobi/django-ses.svg?branch=master)](https://travis-ci.org/ppshobi/django-ses)\n[![codecov](https://codecov.io/gh/ppshobi/django-ses/branch/master/graph/badge.svg)](https://codecov.io/gh/ppshobi/django-ses)\n# Django Ses \nAnother Django Email Backend on top of Amazon Simple Email Service (SES). Supports `Django 1.9`, `1.10`, `1.11`, `2.0`, `2.1`\n. Using the latest boto3 to make API Calls, Tested using `moto` \n\n## What is this package about\nEvery web application needs to send email at some point, may it be verification, password resets, updates etc..., Django by default supports SMTP protocol, simply specify smtp credentials and you are ready to go.\nBut when you use Amazon Services such as SES the preferred way is to access it via its API. \n\nSo Here it is guys. Simply install it, give the SES credentials, and start sending Emails.\nMore over if your application is hosted in AWS first ~60000 emails are free every month\n\n## Table of Contents\n - [Installation](#installation)\n - [SES Credential Setup](#ses-credential-setup)\n - [Usage](#usage)\n - [TODO](#todo)\n - [Contribution](#contribution)\n\n### Installation\nThis package is available via pip, So install it using pip\n\n`pip install django-ses`\n\nand add it in your INSTALLED_APPS section of settings.py\n```\nINSTALLED_APPS = [\n 'django_ses',\n ...\n]\n```\n\n### SES Credential Setup\nObviously you need to have access to an AWS SES account, generate credentials by following [this guide](https://www.formget.com/amazon-ses-iam/) or if you already have access keys use it.\n\nin your settings.py add it as follows\n````\nSES_ACCESS_KEY = 'xxx'\nSES_SECRET_KEY = 'xxx'\nSES_REGION_NAME = 'us-east-1' \n````\n`SES_REGION_NAME` is optional defaults to `us-east-1`\n\n **You need to [verify domain](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-domains.html) or [verify email](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-email-addresses.html) in order to send emails outside** \n\n### Usage\nOnce the setup is done you can send emails as usual, your existing calls to emails should work without any modifications\n\n#### example 1 - Using `send_mail()`\n send_mail(subject=\"Test Subject\", message=\"Message\", from_email=\"from@example.com\", recipient_list=['to@example.com'])\n\n#### example 2 - Using `EmailMessage`\n email = EmailMessage(\n 'Subject 1',\n 'Body1 goes here',\n 'from@example.com',\n ['to1@example.com', 'to2@example.com'],\n reply_to=['another@example.com'],\n )\n\n email.send()\n\nhttps://docs.djangoproject.com/en/2.1/topics/email for more details\n\n### TODO\n * Pre Send, Post Send Signals\n### Contribution \n * Submit issues to [Github Issues](https://github.com/ppshobi/django-ses/issues)\n * Submit patches to the `develop` branch \n * Kindly write tests to justify any additions\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ppshobi/django-ses", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "django-ses-email-backend", "package_url": "https://pypi.org/project/django-ses-email-backend/", "platform": "", "project_url": "https://pypi.org/project/django-ses-email-backend/", "project_urls": { "Homepage": "https://github.com/ppshobi/django-ses" }, "release_url": "https://pypi.org/project/django-ses-email-backend/0.0.1/", "requires_dist": [ "boto3 (>=1.8.5)", "Django (>=1.9)" ], "requires_python": "", "summary": "A Drop in Replacement for default django email backend based on Amazon SES", "version": "0.0.1" }, "last_serial": 4237048, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "9b7d4ff60e26aa04f27293e851941061", "sha256": "788c98b13bc862a88a35084866530d471fed62853547389f31d90bf720a175d5" }, "downloads": -1, "filename": "django_ses_email_backend-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "9b7d4ff60e26aa04f27293e851941061", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4216, "upload_time": "2018-09-04T09:44:51", "url": "https://files.pythonhosted.org/packages/78/e6/ed4012a709d7c72511028da5b8730d49e578b28af0fc2fdae95d2a5878ee/django_ses_email_backend-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "84df1ac87d3e0898a9b332e4ace9ccff", "sha256": "13c11c1a35f0395fdacce6e16844074356ea67f6656adb3efbe93ad3bf56fa2c" }, "downloads": -1, "filename": "django_ses_email_backend-0.0.1.tar.gz", "has_sig": false, "md5_digest": "84df1ac87d3e0898a9b332e4ace9ccff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3175, "upload_time": "2018-09-04T09:44:52", "url": "https://files.pythonhosted.org/packages/f8/7a/a6b84d8fd7e6ae1cba7bc9594c8b28959b65ba121a621b64e0bfc15c0f97/django_ses_email_backend-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9b7d4ff60e26aa04f27293e851941061", "sha256": "788c98b13bc862a88a35084866530d471fed62853547389f31d90bf720a175d5" }, "downloads": -1, "filename": "django_ses_email_backend-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "9b7d4ff60e26aa04f27293e851941061", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4216, "upload_time": "2018-09-04T09:44:51", "url": "https://files.pythonhosted.org/packages/78/e6/ed4012a709d7c72511028da5b8730d49e578b28af0fc2fdae95d2a5878ee/django_ses_email_backend-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "84df1ac87d3e0898a9b332e4ace9ccff", "sha256": "13c11c1a35f0395fdacce6e16844074356ea67f6656adb3efbe93ad3bf56fa2c" }, "downloads": -1, "filename": "django_ses_email_backend-0.0.1.tar.gz", "has_sig": false, "md5_digest": "84df1ac87d3e0898a9b332e4ace9ccff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3175, "upload_time": "2018-09-04T09:44:52", "url": "https://files.pythonhosted.org/packages/f8/7a/a6b84d8fd7e6ae1cba7bc9594c8b28959b65ba121a621b64e0bfc15c0f97/django_ses_email_backend-0.0.1.tar.gz" } ] }