{ "info": { "author": "Micropyramid", "author_email": "hello@micropyramid.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "django-email-gateway:\n=====================================\n\n.. image:: https://readthedocs.org/projects/django-email-gateway/badge/?version=latest\n :target: http://django-email-gateway.readthedocs.io/en/latest/\n :alt: Documentation Status\n\n.. image:: https://travis-ci.org/MicroPyramid/django-email-gateway.svg?branch=master\n :target: https://travis-ci.org/MicroPyramid/django-email-gateway\n\n.. image:: https://img.shields.io/pypi/dm/django-email-gateway.svg\n :target: https://pypi.python.org/pypi/django-email-gateway\n :alt: Downloads\n\n.. image:: https://img.shields.io/pypi/v/django-email-gateway.svg\n :target: https://pypi.python.org/pypi/django-email-gateway\n :alt: Latest Release\n\n.. image:: https://coveralls.io/repos/github/MicroPyramid/django-email-gateway/badge.svg?branch=master\n :target: https://coveralls.io/github/MicroPyramid/django-email-gateway?branch=master\n\n.. image:: https://landscape.io/github/MicroPyramid/django-email-gateway/master/landscape.svg?style=flat\n :target: https://landscape.io/github/MicroPyramid/django-email-gateway/master\n :alt: Code Health\n\n.. image:: https://img.shields.io/github/license/micropyramid/django-email-gateway.svg\n :target: https://pypi.python.org/pypi/django-email-gateway/\n\nIntroduction:\n=============\n\nA Simple Django app to easily send emails, receive inbound emails from users with different email vendors like AWS SES, Sendgrid, Mailgun.\n\n\n`Django email gateway`_ is used for sending mails from your verified domains. It can be used to send emails from different email vendors like (AWS SES, Sendgrid, MailGun). Using this app, we can easily use different email vendors to verified, non-verified users.\n\n\nInstallation Procedure\n======================\n\n1. Use **pip** to install easily with one step::\n\n $ pip install django-inbound-email\n\n\n2. Pull the code from **github** using the following command::\n\n git clone git://github.com/micropyramid/django-email-gateway.git\n\n cd django-email-gateway\n\n python setup.py install\n\n\nConfiguration\n==============\n\n- After installing/cloning the django app, add the following details in settings file to setup your email vendor for verified & non-verified users:\n\n .. code:: shell\n\n MAIL_SENDER = 'AMAZON' | 'SENDGRID' | 'MAILGUN'\n INACTIVE_MAIL_SENDER = 'AMAZON' | 'SENDGRID' | 'MAILGUN'\n\n- If you're using **Amazon** as a email vendor, add the following settings with their values:\n\n .. code:: shell\n\n AWS_ACCESS_KEY_ID = \"Your AWS Access Key\"\n\n AWS_SECRET_ACCESS_KEY = \"Your AWS Secret Key\"\n\n- If you're using **Sendgrid** as a email vendor, add the following settings with their values:\n\n .. code:: shell\n\n SG_USER = \"Your Sendgrid Username\"\n SG_PWD = \"Your Sendgrid Password\"\n\n- If you're using **Mailgun** as a email vendor, add the following settings with their values:\n\n .. code:: shell\n\n MGUN_API_URL = \"Your MailGun Api Url\"\n MGUN_API_KEY = \"Your MailGun Api Key\"\n\n\nHow It Works?\n=============\n\n\n- Sending Emails:\n\n You can easily send emails to verified and non-verified users from different email vendors like AWS SES, Sendgrid, Mailgun.\n With **sending_mail** function, you can send custom emails to users. By default, it'll send emails from sendgrid. Based on user verification, it will send emails to users from the specified email vendor.\n\n- Receiving Email:\n\n You can easily get the receving emails from different vendors like sendgrid, aws ses, mailgun, by configuring and veririfying your website records in the specified email vendors like SES.\n\n Now It supports only ses for receiving emails, we'll release a version to support sendgrid, mailgun.\n\n\n\nHow To Use:\n===========\n\n1. Add these settings to send & receive emails from different vendors.\n\n\n1. **Sending email**::\n\n sending_mail(subject, email_template_name, context, from_email, to_email, verified)\n\n2. **Receiving emails**::\n\n from django_email_gateway.receiving_mail import sns_notification\n subject, from_mail, to_mail, hash_code, mail_content = sns_notification(request.body)\n\n\nIt will process your message content, will return the email subject, from mail, to email(abc@yourdomain.com), hashcode(abc), mail content.\n\nVisit our Django web development page `Here`_\n\nWe welcome your feedback and support, raise `github ticket`_ if you want to report a bug. Need new features? `Contact us here`_\n\n.. _contact us here: https://micropyramid.com/contact-us/\n.. _avaliable online: http://django-email-gateway.readthedocs.io/en/latest/\n.. _github ticket: https://github.com/MicroPyramid/django-email-gateway/issues\n.. _Django email gateway: https://micropyramid.com/oss/\n.. _Here: https://micropyramid.com/django-development-services/\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/MicroPyramid/django-email-gateway", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "django-email-gateway", "package_url": "https://pypi.org/project/django-email-gateway/", "platform": "", "project_url": "https://pypi.org/project/django-email-gateway/", "project_urls": { "Homepage": "https://github.com/MicroPyramid/django-email-gateway" }, "release_url": "https://pypi.org/project/django-email-gateway/0.1.2/", "requires_dist": [ "django", "boto", "lxml" ], "requires_python": "", "summary": "A django package which act as a gateway to send and receive email with amazon SES.", "version": "0.1.2" }, "last_serial": 3497205, "releases": { "0.1.2": [ { "comment_text": "", "digests": { "md5": "820a01ff17a9bafd0c1227c5aab93f43", "sha256": "e3746967234788be85ac3bbcedb4194515cf21456809dde1cc58081d63974034" }, "downloads": -1, "filename": "django_email_gateway-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "820a01ff17a9bafd0c1227c5aab93f43", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8413, "upload_time": "2018-01-17T14:04:44", "url": "https://files.pythonhosted.org/packages/f8/39/ab8cc930acc229133dd512530e37376a6b9825262105fe19fe14dc381da7/django_email_gateway-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "314b7a1f07be52adae7258ddc8a10b4e", "sha256": "c841e3c401696014c508a64e49a2f4f61aeaad836773236aec6562037fb7c5f7" }, "downloads": -1, "filename": "django-email-gateway-0.1.2.tar.gz", "has_sig": false, "md5_digest": "314b7a1f07be52adae7258ddc8a10b4e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4328, "upload_time": "2018-01-17T14:04:45", "url": "https://files.pythonhosted.org/packages/bb/4e/d53309c0d57b72a77d877f5659b73604e59b85683827b88cae58a769ad9f/django-email-gateway-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "820a01ff17a9bafd0c1227c5aab93f43", "sha256": "e3746967234788be85ac3bbcedb4194515cf21456809dde1cc58081d63974034" }, "downloads": -1, "filename": "django_email_gateway-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "820a01ff17a9bafd0c1227c5aab93f43", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8413, "upload_time": "2018-01-17T14:04:44", "url": "https://files.pythonhosted.org/packages/f8/39/ab8cc930acc229133dd512530e37376a6b9825262105fe19fe14dc381da7/django_email_gateway-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "314b7a1f07be52adae7258ddc8a10b4e", "sha256": "c841e3c401696014c508a64e49a2f4f61aeaad836773236aec6562037fb7c5f7" }, "downloads": -1, "filename": "django-email-gateway-0.1.2.tar.gz", "has_sig": false, "md5_digest": "314b7a1f07be52adae7258ddc8a10b4e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4328, "upload_time": "2018-01-17T14:04:45", "url": "https://files.pythonhosted.org/packages/bb/4e/d53309c0d57b72a77d877f5659b73604e59b85683827b88cae58a769ad9f/django-email-gateway-0.1.2.tar.gz" } ] }