Django Contact Form | How To Send Email Using Django? | Tutorial 2022

  Рет қаралды 24,637

Code With Stein

Code With Stein

2 жыл бұрын

Learn how to set up a contact form which will send email to a SMTP backend using Django.
I will also use a service called Mailtrap for testing how the emails will look like in an inbox.
The framework I use is called Django and it's based on Python.
---
Code With Stein Premium
If you want to learn even more from me, check out my website codewithstein.com where you can track progress, talk to me and similar :-D
Support me
Donate: www.paypal.com/paypalme/codew...
Patreon: / codewithstein
Merch: shop.spreadshirt.com/code-wit...
Important links
Discord: / discord
Github: github.com/SteinOveHelset/con...
Twitter: / codewithstein
Website: codewithstein.com
---
#codewithstein #django #learndjango #djangotutorial #djangoemail #djangomailtrap #mailtrap

Пікірлер: 56
@damidrevid
@damidrevid 2 жыл бұрын
Easy and staight forward. Thank you Stein for always creating good contents.
@CodeWithStein
@CodeWithStein 2 жыл бұрын
Thanks for the comment 😁
@exg421
@exg421 Жыл бұрын
You are a life saver. I couldn't find any content on that theme and you showed it straight and forward
@CodeWithStein
@CodeWithStein Жыл бұрын
Thanks for the comment, glad you liked it :-D
@exg421
@exg421 Жыл бұрын
@@CodeWithStein Have you got patreon or something to support you?
@CodeWithStein
@CodeWithStein Жыл бұрын
Yes I do 😁 www.patreon.com/codewithstein
@sathesanket5412
@sathesanket5412 Жыл бұрын
Thank you for this amazing and short video, which makes more sense than anyother.
@CodeWithStein
@CodeWithStein Жыл бұрын
Thanks for the feedback 😁
@user-fr5uc7fc7e
@user-fr5uc7fc7e Жыл бұрын
Great tutorial! Very helpful and informative, many thanks!
@CodeWithStein
@CodeWithStein Жыл бұрын
Thank you 😁😁
@jonatanmsanchez
@jonatanmsanchez 2 жыл бұрын
You are a lifesaver. This works perfectly
@CodeWithStein
@CodeWithStein 2 жыл бұрын
Nice! Thanks :-D
@enkhamgalannavaandorj227
@enkhamgalannavaandorj227 Жыл бұрын
Thanks so much. exactly what I was looking for.
@CodeWithStein
@CodeWithStein Жыл бұрын
Great, glad you liked it 👍🏻
@jimmysindia
@jimmysindia 2 жыл бұрын
Stein you have super content, thank you for doing this....
@CodeWithStein
@CodeWithStein 2 жыл бұрын
Thank you so much for the feedback 😁
@nadiayusof93
@nadiayusof93 Жыл бұрын
done subscribed! your content is very easy to understand. thank you!
@CodeWithStein
@CodeWithStein Жыл бұрын
Thanks :-D Glad you liked it :-D
@BGOPC
@BGOPC Жыл бұрын
thanks, it's so clear and eas to understand
@CodeWithStein
@CodeWithStein Жыл бұрын
Thanks for the feedback 😁
@EdwardHerrera-bt1oe
@EdwardHerrera-bt1oe Жыл бұрын
Great tutorial !
@CodeWithStein
@CodeWithStein Жыл бұрын
Thanks 😁
@abdssamad5246
@abdssamad5246 2 жыл бұрын
Great tutorial❤❤
@CodeWithStein
@CodeWithStein 2 жыл бұрын
Thanks 😁
@jimmysindia
@jimmysindia 2 жыл бұрын
thank you stein
@CodeWithStein
@CodeWithStein 2 жыл бұрын
You’re welcome Thomas 😁
@sharifpy
@sharifpy Жыл бұрын
Thank you so much ❤
@CodeWithStein
@CodeWithStein Жыл бұрын
You're welcome :-D
@JustPython
@JustPython 2 жыл бұрын
Very easy way for sending email
@CodeWithStein
@CodeWithStein 2 жыл бұрын
Nice 😁
@serychristianrenaud
@serychristianrenaud 2 жыл бұрын
Thanks
@CodeWithStein
@CodeWithStein 2 жыл бұрын
You're welcome :-D
@posurhat
@posurhat Жыл бұрын
Boss thanks
@CodeWithStein
@CodeWithStein Жыл бұрын
You're welcome ;-)
@richlueking2627
@richlueking2627 4 ай бұрын
Google no longer supports "Allow less secure apps." When I try to access this feature, I receive a message stating that it's not supported for my account type. What should I do?
@CodeWithStein
@CodeWithStein 4 ай бұрын
Hey, is this connected to the video somehow? Sounds like an app or something?
@ibrahimoglu
@ibrahimoglu 2 жыл бұрын
👍
@CodeWithStein
@CodeWithStein 2 жыл бұрын
☺️
@tbg1170
@tbg1170 Жыл бұрын
I have an issue email is sent but not received by receiver but shows in terminal
@CodeWithStein
@CodeWithStein Жыл бұрын
Hey, which smtp server are you using?
@TransplantNative
@TransplantNative Жыл бұрын
how would I hide my host password so it's not visible to anybody except me?
@CodeWithStein
@CodeWithStein Жыл бұрын
Hey, you can use environment variables ☺️
@NewToneMusicOfficial
@NewToneMusicOfficial 2 жыл бұрын
Can I receive the emails in my inbox
@CodeWithStein
@CodeWithStein 2 жыл бұрын
Sure, you just need a smtp server and then set yourself as the recipient. Try mailjet for example ☺️
@sumithvarmamarri2232
@sumithvarmamarri2232 Жыл бұрын
Hey Stein. You are awesome
@CodeWithStein
@CodeWithStein Жыл бұрын
Thank you :-D
@wasilmawardi3852
@wasilmawardi3852 Жыл бұрын
Thanks man , really helpful
@CodeWithStein
@CodeWithStein Жыл бұрын
GLad to hear that 😁
@nurullo.salaydinov
@nurullo.salaydinov 2 жыл бұрын
Thanks, but i had an error, ConnectionRefusedError at / [WinError 10061] No connection could be made because the target machine actively refused it ^ how to fix it
@CodeWithStein
@CodeWithStein 2 жыл бұрын
Hey, have you been able to fix this? It sounds like some sort of permission error on windows (which I have no experience with).
@nurullo.salaydinov
@nurullo.salaydinov 2 жыл бұрын
@@CodeWithStein I could not fix this
@nurullo.salaydinov
@nurullo.salaydinov 2 жыл бұрын
@@CodeWithStein That error occured from my every friends in it but we can't fix this, our teacher said it would be from slow internet
@nurullo.salaydinov
@nurullo.salaydinov 2 жыл бұрын
Thanks, but i had an error,ConnectionRefusedError at / [WinError 10061] No connection could be made because the target machine actively refused it
@CodeWithStein
@CodeWithStein 2 жыл бұрын
Hey, would love to help. But it looks like a Windows error and I don’t know anything about it. Have you tried Google?
@nurullo.salaydinov
@nurullo.salaydinov 2 жыл бұрын
Yes but i think it is from slow internet connection
@CodeWithStein
@CodeWithStein 2 жыл бұрын
Hmm, no i dont think so. I think it has to do with permissions or similar :s
Django - Class Based Views VS Function Based Views
0:59
Code With Stein
Рет қаралды 3,4 М.
How To Send Email With Django - Python Django Dentist Website #7
22:01
Survival skills: A great idea with duct tape #survival #lifehacks #camping
00:27
Was ist im Eis versteckt? 🧊 Coole Winter-Gadgets von Amazon
00:37
SMOL German
Рет қаралды 25 МЛН
Khó thế mà cũng làm được || How did the police do that? #shorts
01:00
Django tutorial - sending email in gmail from HTML contact form
28:11
Scottish Coder
Рет қаралды 19 М.
Send Email With React (No Backend Required)
16:31
ZinoTrust Academy
Рет қаралды 71 М.
Contact Pages in Django - Python Django Dentist Website #6
15:54
git rebase - Why, When & How to fix conflicts
9:45
Philomatics
Рет қаралды 30 М.
Django Dynamic Forms Tutorial with Htmx
48:27
Matt Freire
Рет қаралды 66 М.
tRPC, gRPC, GraphQL or REST: when to use what?
10:46
Software Developer Diaries
Рет қаралды 71 М.
Survival skills: A great idea with duct tape #survival #lifehacks #camping
00:27