Sending Emails in Django

  Рет қаралды 82,645

Pretty Printed

Pretty Printed

6 жыл бұрын

In this video I show you how to send emails in Django using the send_mail function.
Need one-on-one help with your project? I can help through my coaching program. Learn more here: prettyprinted.com/coaching
docs.djangoproject.com/en/2.0...
Join my free course on working with the database and models in Django: prettyprinted.com/djangodata
Twitter: / pretty_printed
Github: github.com/prettyprinted

Пікірлер: 52
@prettyprinted
@prettyprinted 4 жыл бұрын
Join my free course on working with the database and models in Django: prettyprinted.com/djangodata
@KevinTempelx
@KevinTempelx 3 жыл бұрын
Thank you!
@majidaveiro4493
@majidaveiro4493 2 жыл бұрын
Thanks a lot
@sophia_mary_r7914
@sophia_mary_r7914 2 жыл бұрын
I can't thank you enough sir!
@jakubsamanek9715
@jakubsamanek9715 5 жыл бұрын
Thank you very much
@prettyprinted
@prettyprinted 5 жыл бұрын
You're welcome!
@pavankumark4708
@pavankumark4708 3 жыл бұрын
Loved your videos.. It helped many people like me.. can you let us know how to send attachments in the email ?
@shehzada-e-habib1957
@shehzada-e-habib1957 4 жыл бұрын
Thank you so much sir Anthony for this video! However, I am getting a problem here which I would like to discuss, and that is, I am getting an error while I run the server, namely """ModuleNotFoundError: No module named 'Send' """. How may I eradicate this error?
@gomathisubramanian8
@gomathisubramanian8 5 жыл бұрын
Hello How to send the dynamic email?
@sergeyv6618
@sergeyv6618 4 жыл бұрын
Спасибо.
@eticialima
@eticialima 3 жыл бұрын
Great Tutorial, if i want to do this with template ?
@khanasfireza9515
@khanasfireza9515 4 жыл бұрын
Brother loved your tutorials. I have a request, can you make a ajax based Django tutorial, like example a django-ajax to do list, That would help us a lot
@prettyprinted
@prettyprinted 4 жыл бұрын
I'll see what I can do. Thanks for the idea.
@ajalasegun1
@ajalasegun1 6 жыл бұрын
Hey Anthony! Can you make a video on testing in django?
@xtremehackerzpro9511
@xtremehackerzpro9511 6 жыл бұрын
This would be great :)
@prettyprinted
@prettyprinted 6 жыл бұрын
Yeah, it's in the plans.
@ayushuprety5676
@ayushuprety5676 4 жыл бұрын
Great video but i need your help in a problem.What if i need to send email to multiple people from database?
@imtiyazahamedchowdhury2822
@imtiyazahamedchowdhury2822 3 жыл бұрын
Please help ! i set same things in my local host its working but after upload its not working from hosting . no massage send from account . so what i have to change in setting when i upload project in real hosting ?
@fowad27
@fowad27 2 жыл бұрын
What if you want to send an email but edit the body before sending? Is there any tutorial that deals with that?
@thedumbfounds767
@thedumbfounds767 6 жыл бұрын
Great video Anthony. Yes, the only thing that's a bit annoying is setting up the host... btw: how do you keep your keyboard strokes so quiet? ;)
@prettyprinted
@prettyprinted 6 жыл бұрын
I use an ATR2100 microphone that picks up mostly directional sound and it's very close to my mouth.
@thedumbfounds767
@thedumbfounds767 6 жыл бұрын
oh okay, thanks!
@wipoulou
@wipoulou 6 жыл бұрын
I like the typing sound on you vids
@anupthatal5690
@anupthatal5690 4 жыл бұрын
Is not working in my
@shubhamjha5738
@shubhamjha5738 2 жыл бұрын
How to send pic in email body
@anuareramirez
@anuareramirez 3 жыл бұрын
How can i send emails from different accounts?
@rimjhimgupta8745
@rimjhimgupta8745 5 жыл бұрын
I am getting no error but also email is not sending. Please help.
@apurvashirbhate5724
@apurvashirbhate5724 3 жыл бұрын
Getting this error: WinError 10061] No connection could be made because the target machine actively refused it
@Dineshtech-xr8id
@Dineshtech-xr8id 10 ай бұрын
make a video on microsoft / outllook mail
@ram_rahim_creations_officials
@ram_rahim_creations_officials 4 жыл бұрын
how configure multiple emails at dynamically
@guilhermemenezes3049
@guilhermemenezes3049 4 жыл бұрын
message1 = ('Subject here', 'Here is the message', 'from@example.com', ['first@example.com', 'other@example.com']) message2 = ('Another Subject', 'Here is another message', 'from@example.com', ['second@test.com']) send_mass_mail((message1, message2), fail_silently=False)
@thiagocnunes
@thiagocnunes 4 жыл бұрын
@@guilhermemenezes3049 Perfeito :D
@rber5566
@rber5566 5 жыл бұрын
First time I realize I'm being helped by a black programmer! Thanks Hope this bleach pale scenario in tech changes fast enough Nice channel, too, cheers
@prettyprinted
@prettyprinted 5 жыл бұрын
haha I'm glad you like my channel. Thanks for watching.
@Xylophonx
@Xylophonx 6 жыл бұрын
How good does my python need to be, so I can use Django with no problems?
@thedumbfounds767
@thedumbfounds767 6 жыл бұрын
xLiontari if you're comfortable with control flow, functions, and some oop you should be fine. The more advanced concepts should come along the way.
@prettyprinted
@prettyprinted 6 жыл бұрын
Yeah what The Dumbfounds says. If you can do the basics, you have more than enough to get started with Django.
@wachirabeatrice8211
@wachirabeatrice8211 4 жыл бұрын
I would like to learn how to send bulk emails at once
@MuratDemir26
@MuratDemir26 4 жыл бұрын
Celery can be used for that purpose :) "task queue" and "async functions" is key for bulk email sendings :)
@samadansari6154
@samadansari6154 4 жыл бұрын
please help! why i'm getting mail by myself eg: from : abc@gmail.com to : abc@gmail.com
@CesarContreras13
@CesarContreras13 5 жыл бұрын
what if i wanna send a mail in a week?
@prettyprinted
@prettyprinted 5 жыл бұрын
Then you'll have to use a tool to schedule it. The easiest way would to just put a record in your database with the time the email should be sent, and have some regular process check if any emails need to be sent.
@CesarContreras13
@CesarContreras13 5 жыл бұрын
@@prettyprinted thank you, I'll check this out
@Crucizer
@Crucizer 4 жыл бұрын
time.sleep()
@manifz90
@manifz90 4 жыл бұрын
@@prettyprinted Hello pretty printed ... Can you please attach an article link regarding Scheduling mails or please send article link to manifz90@gmail.com
@artursgolis8190
@artursgolis8190 3 жыл бұрын
Thank you!
Basics of Django Aggregation
5:59
Pretty Printed
Рет қаралды 15 М.
Sending Emails in Django With Celery
23:20
Pretty Printed
Рет қаралды 77 М.
- А что в креме? - Это кАкАооо! #КондитерДети
00:24
Телеканал ПЯТНИЦА
Рет қаралды 7 МЛН
Вечный ДВИГАТЕЛЬ!⚙️ #shorts
00:27
Гараж 54
Рет қаралды 14 МЛН
КАРМАНЧИК 2 СЕЗОН 7 СЕРИЯ ФИНАЛ
21:37
Inter Production
Рет қаралды 549 М.
Understanding Django Model Relationships
25:56
Pretty Printed
Рет қаралды 94 М.
Django tutorial - sending email in gmail from HTML contact form
28:11
Scottish Coder
Рет қаралды 19 М.
Using the Django LoginView
10:14
Pretty Printed
Рет қаралды 32 М.
How To Send Email With Django - Python Django Dentist Website #7
22:01
Django QuickStart Web Application for Beginners
23:11
Python Simplified
Рет қаралды 84 М.
Learn the Basics of Django Signals
22:37
Matt Freire
Рет қаралды 49 М.
Send Emails in Django using Gmail SMTP | A Step-by-Step Guide
18:18