Giter Site home page Giter Site logo

souri / smtpapi-python Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sendgrid/smtpapi-python

0.0 1.0 0.0 62 KB

It's Hacktoberfest!! SendGrid is giving out shirts if you make pull requests!

Home Page: https://dx.sendgrid.com/hacktoberfest

License: MIT License

Shell 0.97% Python 99.03%

smtpapi-python's Introduction

SendGrid Logo

Travis Badge Email Notifications Badge Twitter Follow Codecov branch GitHub contributors MIT Licensed

This module helps build SendGrid's SMTP API headers.

Learn more about the SMTP API at SendGrid's documentation.

Announcements

All updates to this module is documented in our CHANGELOG.

Table of Contents

Installation

Prerequisites

  • Python version 2.6, 2.7, 3.4 or 3.5
  • The SendGrid service, starting at the free level

Install Package

pip install smtpapi

Setup Environment Variables

Update the development environment with your SENDGRID_API_KEY, for example:

cp .env_sample .env

In .env set SENDGRID_API_KEY to your own API key.

You can add your environment variables to your environment by sourcing the file:

source .env

Quick Start

from smtpapi import SMTPAPIHeader
header = SMTPAPIHeader()
header.add_to('[email protected]')
print(header.json_string())

Usage

Roadmap

If you are interested in the future direction of this project, please take a look at our milestones. We would love to hear your feedback.

How to Contribute

We encourage contribution to our projects, please see our CONTRIBUTING guide for details.

Quick links:

Local Setup of the project

The simplest local development workflow is by using docker.

Steps

  1. Install Docker
  2. Run docker-compose build (This builds the container)
  3. Run docker-compose up (This runs tests by default)

About

smtpapi-python is guided and supported by the SendGrid Developer Experience Team.

smtpapi-python is maintained and funded by SendGrid, Inc. The names and logos for smtpapi-python are trademarks of SendGrid, Inc.

License

The MIT License (MIT)

smtpapi-python's People

Contributors

thinkingserious avatar eddiezane avatar geomars avatar prashant0598 avatar mbernier avatar thepriefy avatar pushkyn avatar mptap avatar zacwitte avatar ndagistanley avatar gr8shivam avatar robertacosta avatar random-hacktoberfest-participant-2017 avatar micahduron avatar jstol avatar ericsong avatar eric1iu avatar ciceropablo avatar brandonmwest avatar pseudoaj avatar

Watchers

Souri Guha avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.