This is for testing purposes
cunybpl / sendgrid_client Goto Github PK
View Code? Open in Web Editor NEWA simple client/email backend wrapper for bulk emailing with sendgrid
A simple client/email backend wrapper for bulk emailing with sendgrid
This is for testing purposes
@kgasiorowski you can add a readme for this with some code examples to remind us how to use this lib in an app... You can push a commit right on development for this one
We need to write some code which will allow us to send emails.
The django.core.mail
is a very good starting point in where to look for how to implement this. They include multiple backends, including: a dummy one, one that prints to the console, one that writes to files, and one which actually sends emails. Plenty of useful code there to work with. The dummy one is probably most important, since we need a way to test this stuff without reaching our sendgrid API limits.
We'll be using sendgrid
to actually send the emails. It seems like sendgrid
has a built-in way of handling connections and post requests and such, so hopefully that will work to simplify the code we're working with from django. We will need API keys for that, which is probably a @bsnacks000 thing
We should also bring in jinja2
and create a local email template to keep things nice and clean.
@kgasiorowski For boiler:
poetry
sendgrid
for nowtests/
package with a single smoke testsetversion.py
with initial version commit@kgasiorowski sendgrid_client
is probably more suitable for this repo it just occurred to me... So lets just the package name etc.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.