Send Emails in the Django REST Framework

Moeedlodhi
Geek Culture
Published in
4 min readJul 27, 2021

--

Learn How to send Emails on the Django REST Frameworks

Photo by Stephen Phillips - Hostreviews.co.uk on Unsplash

Another day, another Tech article. In this article, I will be going over how to integrate an E-mail sending feature into our Django Application. I will be going over everything from start to finish on what I did to get a smooth Email Sending functionality up and running. Let’s get started.

1)Create a Gmail account and enable “less secure apps”

Login to your Gmail account and click on account.

Go to security and “turn on” less secure application access

Note: Make sure you’re not using your personal account or any important account for that matter for this tutorial. Reason being that turning on “less secure app access” does make your account vulnerable. So for practice purposes, make sure you have a dummy account or an account you don’t have personal or important information associated.

2)Define username and password

--

--