Skip to main content

django-client-emailer:

Introduction:

django-client-emailer is used for sending mails from different clients i.e. AWS, sendgrid, mailjet etc.

Source Code is available in Repository(https://github.com/tardonly/django-client-emailer).

Modules used:

  • boto3
  • requests
  • django

Requirements

Python  >= 3.4

Installation Procedure

  1. Install django-client-emailer using the following command::

     pip install django-client-emailer
     	or
     git clone git://github.com/micropyramid/django-email-gateway.git
    
     cd django-client-emailer
    
     python setup.py install
    
  2. After installing/cloning this, add the following details in django settings file to send emails notifications ::

    MAIL_SENDER = 'AMAZON' for aws or 'MAILGUN' for mailgun or 'SENDGRID' for sendgrid or 'MAILJET' for mailjet or None for django default mailer

    AWS details if mail sender amazon

    AWS_ACCESS_KEY_ID = "Your AWS Access Key"

    AWS_SECRET_ACCESS_KEY = "Your AWS Secret Key"

    mailgun if mail sender is mailgun

    MGUN_API_URL = 'mailgun api url'

    MGUN_API_KEY = 'mailgun api key'

    mailjet if mail sender is mailjet

    MJ_APIKEY_PUBLIC = 'mailjet api key'

    MJ_APIKEY_PRIVATE = 'mailjet api secret'

validating emails

Email get validated from validate_email

Usage:

#####Sending an email:

send_mail(subject, email_template_name, context, from_email, to_email, verified, cc_list=None, bcc_list=None)

It will process the your message content, will return the email subject, from mail, to email(abc@yourdomain.com), hashcode(abc), mail content.

Metadata

Release files for django-client-emailer 0.9.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-client-emailer 0.9.1
File Size Uploaded Provenance Actions
django-client-emailer-0.9.1.tar.gz 4.2 kB Without provenance Details for django-client-emailer-0.9.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-client-emailer 0.9.1
File Interpreter ABI Platform Actions
django_client_emailer-0.9.1-py3-none-any.whl Python 3 none any Details for django_client_emailer-0.9.1-py3-none-any.whl

Total release size: 9.2 kB

Release files / django-client-emailer-0.9.1.tar.gz

Download URL django-client-emailer-0.9.1.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ddb2d4a8ae2a6152d14a31927da9b8f957bce9824f54bd00d552fc666e3e76ab
BLAKE2b-256 checksum
How to use checksums
7b4c367513f88813149cc79c607f2d17669e4626a5ba57f6121f83f683bc917c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

Release files / django_client_emailer-0.9.1-py3-none-any.whl

Download URL django_client_emailer-0.9.1-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a71c9e2e63ce6dfaab30ee96af409b781583c4e314ed918f1518f493e1f36e7d
BLAKE2b-256 checksum
How to use checksums
ca362ac907e07a23ebf2c15e604c9fbb8395efa1231e4336215acad87da6608f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

Security for django-client-emailer 0.9.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page