Send Emails in Django using Gmail SMTP | A Step-by-Step Guide
ฝัง
- เผยแพร่เมื่อ 27 พ.ย. 2024
- 📧💻 Learn how to set up email functionality in your Django app with Gmail SMTP!
🚀🔑 Generate and secure your Gmail app password, and configure your Django settings.
👨💻 Write Python code to send emails using Django's EmailMessage class.
🔍🎉 Troubleshoot issues and optimize email deliverability for your Django app.
👍 Subscribe to My Channel tutorials & Courses.
🔥 Become A Backend Developer in 3 Hours: • Become a Backend Devel...
🔥 Learn Python in 1 Hour: • Python for Beginners -...
_ _ _ _ _ _ _ _ _ _ _ _ __ __ _ _ _ _
Please let me know if you would like to consult with or hire me.
Hire me on Upwork: www.upwork.com...
Place an order on Fiverr: www.fiverr.com...
_ _ _ _ _ _ _ _ _ _ _ _ __ __ _ _ _ _
Social Links:
Github: github.com/cod...
LinkedIn: / muhammad-rashid-daha
Upwork: www.upwork.com...
X: / rashiddaha80
Instagram: / rashiddaha1
Medium: / codewithmuh
Website: codewithmuh.com
_ _ _ _ _ _ _ _ _ _ _ _ __ __ _ _ _ _
📔 Source Code: github.com/ras...
(For Personal Training and Projects, You can reach out to me at My Email or Upwork) 💻🤝
Upwork -www.upwork.com...
Email: codewithmuh@gmail.com
it is totally crazy!!! Finally I have achieved to successfully send OTP to my email in my Django REST application!!! thank you
Glad to hear
This is super helpful as always! This has to be the fourth time you saved my full stack django project. So four and counting. Thank-you!
I am happy to hear its helping.
Connect with me on LinkedIn: www.linkedin.com/in/muhammad-rashid-daha
¡Muchas gracias! Vi montón de vídeos y leí un montón de artículos más, gracias por la ayuda
These video are perfect, thanks !!!
you are a life save dude, God bless.
Happy to hear, its helpful.
This is exactly what I needed!
Cool 😎
thanks a lot dude it was so helpful for me
@@amirmohammadrezayi1471 happy to hear
How did you get app password option there,For me it is not showing up 4:20
Any one please reply fast
Make sure 2fa is active on your email, then search app password in search bar
Thanks buddy!
You are welcome
Hi! Tks a lot for the amazing content. Do you think it is possible to dettached a file (.csv) from an email and storage it in a database? Best my friend
Yes it's possible. If you need more help. You can connect me.
do I need to create google workspace for it to work?
@@deficiente2391 no
Thanks for your nice tutorial, what plugin do you use for auto-completion or code suggestions in VScode for django? Thank you for the guidance
Alright , you can use Tabnine AI plugin
@@CodeWithMuh Thanks 🙏
Thank you very much brother
Welcome
Please make a video on Developing Microservices with Django REST Framework and creating the architecture on AWS
Yes, i will make it. But next month.
@@CodeWithMuh thanks a lot. Looking forward to it
thank you very much
You are welcome
Nice code thankyou
Glad to hear
thanks
I've followed all the steps bro but i'm kep getting error: "TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond"
Its seems your cred. Are wrong
I don't have apps password option in security menu
Can you search in the header 'app password '. You will find it. If still not. Connect with me on LinkedIn. I will help you.
why after 2FA verification dont seeing app password in my account please help me
In the google account header, there will be a search, search app password, you will see it .
If there is still a problem, reach out to me at LinkedIn
@@CodeWithMuh thank you
i am getting the error 'Connection unexpectedly closed'
There will be something wrong
I'm not getting an app passwords option after 2-step-verification
Search app password in the search
box area. You will find it. ( Get help from Google)
I received the email in the spam, what to do if I want it in my inbox@@CodeWithMuh
@@CodeWithMuhit's removed my Google aswell.
i got ssl certificate error
Error details?
I received the email but in spam folder, how to get this in inbox
Use an old email.
If you have created an email recently it will go in Spam. Users those are receiving if they mark it non-spam. Then gradually it will come in inbox
Thanks a lot for your prompt response
i am not getting this option
Didn't understand what do you want to say
Bro you have to set up 2 step verification first
Remove by Google aswell for certain account.
bro write code to send email to otp
python django
Sure. Soon i will write
I followed the same steps but i get error message :- socket. gaierror (errno 11001) getaddrinfo failed. Pls help i am working on a django project and i want to verify email by sending otp. Pls help me pls
This is a socket error. You will be making mistakes somewhere