All Projects → frankV → flask-sendgrid

frankV / flask-sendgrid

Licence: MIT license
Flask plugin to simplify sending emails through SendGrid.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to flask-sendgrid

Django Anymail
Django email backends and webhooks for Amazon SES, Mailgun, Mailjet, Postmark, SendGrid, Sendinblue, SparkPost and more
Stars: ✭ 1,109 (+4721.74%)
Mutual labels:  sendgrid
Serverless Monorepo App
Serverless Monorepo App
Stars: ✭ 136 (+491.3%)
Mutual labels:  sendgrid
registration
✏️ Hackathon registration server
Stars: ✭ 60 (+160.87%)
Mutual labels:  sendgrid
Mailcore
Emailing wrapper for Vapor 3 apps
Stars: ✭ 77 (+234.78%)
Mutual labels:  sendgrid
Stronggrid
Strongly typed library for the entire SendGrid v3 API, including webhooks
Stars: ✭ 125 (+443.48%)
Mutual labels:  sendgrid
Sendgrid Nodejs
The Official Twilio SendGrid Led, Community Driven Node.js API Library
Stars: ✭ 2,543 (+10956.52%)
Mutual labels:  sendgrid
Azure Functions Billing
Azure Functions v2 with .NET Core - billing in serverless architecture.
Stars: ✭ 49 (+113.04%)
Mutual labels:  sendgrid
mailer
Simple Email Sending Client for Mailgun & Sendgrid services in crystal
Stars: ✭ 16 (-30.43%)
Mutual labels:  sendgrid
Fluentemail
All in one email sender for .NET. Supports popular senders (SendGrid, MailGun, etc) and Razor templates.
Stars: ✭ 1,888 (+8108.7%)
Mutual labels:  sendgrid
Formspree
Easy HTML form without PHP or JavaScript
Stars: ✭ 2,749 (+11852.17%)
Mutual labels:  sendgrid
Sendgrid Php
The Official Twilio SendGrid Led, Community Driven PHP API Library
Stars: ✭ 1,257 (+5365.22%)
Mutual labels:  sendgrid
Function Templates
Twilio Function templates for different Voice, SMS, Video, Chat, Sync, etc use cases
Stars: ✭ 120 (+421.74%)
Mutual labels:  sendgrid
Docs
Repository of Twilio SendGrid's product documentation.
Stars: ✭ 221 (+860.87%)
Mutual labels:  sendgrid
Sendgrid Python
The Official Twilio SendGrid Led, Community Driven Python API Library
Stars: ✭ 1,125 (+4791.3%)
Mutual labels:  sendgrid
mesan-nodejs-auth-crud-api
NodeJS Authentication and CRUD operations API -: Email Verification, Image Upload, Password Reset
Stars: ✭ 72 (+213.04%)
Mutual labels:  sendgrid
Restfeel
RESTFeel: 一个企业级的API管理&测试平台。RESTFeel帮助你设计、开发、测试您的API。
Stars: ✭ 59 (+156.52%)
Mutual labels:  sendgrid
Django Sendgrid V5
An implementation of Django's EmailBackend compatible with sendgrid-python v5+
Stars: ✭ 202 (+778.26%)
Mutual labels:  sendgrid
go-mail
📧 A cross platform mail driver for GoLang. Featuring Mailgun, Postal, Postmark, SendGrid, SparkPost & SMTP.
Stars: ✭ 169 (+634.78%)
Mutual labels:  sendgrid
MailHookBundle
A bundle to catch API webhook from different mail service
Stars: ✭ 36 (+56.52%)
Mutual labels:  sendgrid
Mailer
A light-weight, modular, message representation and mail delivery framework for Python.
Stars: ✭ 225 (+878.26%)
Mutual labels:  sendgrid

flask-sendgrid

PyPI version Travis Build Coverage Status

Flask plugin for sending emails with SendGrid.

Provides full support for all Twilio SendGrid Web API v3 endpoints, including v3 /mail/send.

Installation

pip install flask-sendgrid

Usage

from flask_sendgrid import SendGrid
app = Flask(__name__)
app.config['SENDGRID_API_KEY'] = 'your api key'
app.config['SENDGRID_DEFAULT_FROM'] = '[email protected]'
mail = SendGrid(app)

# send multiple recipients; backwards compatible with Flask-Mandrill
mail.send_email(
    from_email='[email protected]',
    to_email=[{'email': '[email protected]'}, {'email': '[email protected]'}],
    subject='Subject',
    text='Body',
)

# send single recipient; single email as string
mail.send_email(
    from_email='[email protected]',
    to_email='[email protected]',
    subject='Subject',
    text='Body',
)

# send single recipient; single email as sendgrid.mail.helpers.Email object
mail.send_email(
    from_email='[email protected]',
    to_email=Email('[email protected]'),
    subject='Subject',
    text='Body',
)

# send multiple recipients; list of emails as sendgrid.mail.helpers.Email object
mail.send_email(
    from_email='[email protected]',
    to_email=[Email('[email protected]'), Email('[email protected]')],
    subject='Subject',
    text='Body',
)

For additional information about mail parameters: SendGrid Web API Mail

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].