Apr 03, 2022
In Welcome to WJZD RADIO DETROIT
Tutorials on the internet about sending emails, there is very little about how to configure an application to receive and process them. It's a task that can be incredibly difficult if you're trying to set everything up on your own, but it's as easy as receiving a web request when you use twilio sendgrid's inbound parse feature . In this short tutorial, you'll learn how to get twilio sendgrid to deliver your emails directly to your web application, using python and the flask web framework. Terms here are the requirements to complete this tutorial: python 3 : if your operating system does not provide a python 3 interpreter, you can go to python.Org to download an installer. A twilio sendgrid account: if you'company mailing list re new to twilio sendgrid, you can create a free account , which lets you send 100 emails a day forever. A domain on which you will receive emails: throughout this article, I will use yourdomainhere.Com . You will need to replace it with your own domain name. Ngrok : we will use this handy utility to connect the flask application running locally on your computer to a public url that sendgrid can send requests to This is necessary for the development version of the application because your computer is probably behind a router or a firewall, so it is not directly accessible on the internet. If you don't have ngrok installed, you can download a copy for windows, macos, or linux . Domain authentication before twilio sendgrid can accept email on your domain, you must authenticate it, so twilio sendgrid knows that the domain is under your control. Start domain authentication to authenticate your domain, log in to your sendgrid account and, in the left navigation bar, open "Settings" and then select sender authentication . On the sender authentication page , click the "Get started" button in the "Domain authentication"