Skip to main content

A simple mailing library for python powered applications using Sendgrid.

Project description

dsc-mailer

A simple mailing library for python powered applications using Sendgrid.

Installation

To install the library using pip, run;

pip install dsc-mailer

Required parameters

The library has one module for sending emails mailer

the mailer module contains a send_mail function that expects five parameters

  • Sender

  • Receiver

  • Email Subject

  • Html Content

  • Sendgrid Api_key

Example Usage

from dscmailer import mailer
my_email = mailer.send_mail(sender, receiver, subject, html_content, api_key)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dsc-mailer, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size dsc_mailer-1.0.1-py3-none-any.whl (3.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size dsc-mailer-1.0.1.tar.gz (1.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page