Sending Email From Web Forms - Python and Flask #6

preview_player
Показать описание
In this video I'll show you how to send email in Flask from a web form.

So in the last couple of videos we created our basic email newsletter sign up form. In this video I'll show you how to send a little confirmation email whenever someone fills out that form.

Sending email with Flask is pretty simple, it should only take 5 or 6 lines of code!
Рекомендации по теме
Комментарии
Автор

▶️ Watch Entire Flask Playlist ✅ Subscribe To My YouTube Channel:
▶️ See More At: ✅ Join My Facebook Group:
Take $30 off with coupon code: youtube1

Codemycom
Автор

This channel is awesome.
I learn so many language through this channel.

navoditsachdeva
Автор

Thanks John. You have saved me after a week of trying to receive form data from user. You the best

kitibwarich
Автор

Thanks a million John! I recently built my first ever Python+Flask website, and sending emails from the Contact page form was the one feature I could JUST NOT GET working. Thank you so much for a working solution.

axn
Автор

Merci pour tes tuto qui me permet de mieux comprendre flask sqlalchemy et consort !

r.jgrondin
Автор

great tutorial. One question is it possible to send an email subject as well? otherwise its undefined in the email

heinergiehl
Автор

Thank you for taking the time to make this video.

One quick question if I may...

So this allows a user to use our own email account to send an email to us, right? However, this user's email will be delivered to us from the email that we initially set up in the flask application rather than the user's own email address.

I would be grateful if you could confirm that this is correct...

lolesportshub
Автор

Hi John, I'm following this series of videos and can't get "access to less secure apps". A message on Gmail says :-

To help keep your account secure, from May 30, 2022, ​​Google no longer supports the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password.

Important: This deadline does not apply to Google Workspace or Google Cloud Identity customers. The enforcement date for these customers will be announced on the Workspace blog at a later date.

Is there a work around? David

DavidCampos-rinp
Автор

What if I want to send mail within the html email content, how would I do that?

sunlord
Автор

thank you for a great flask tutorial, question for you: how can i incorporate a password reset function into the app? thank you in advance for your time in answering my question.

janirico
Автор

Great tutorial, but I at 6:10 the Flask error messages reveal your password. I hope you have changed it.

dailylegend
Автор

thanks for the lesson im curious how can i recieve emails in flask

relicshirts
Автор

What to do when the smtp socket is giving timeout error?

padalakavya
Автор

HI! This is super helpful, but how can I send a pdf report from our flask app to an user's email?

ma.valentinaprieto
Автор

If I use python to send a subscription email, how do I get the bottom of the email to go to a link where someone can unsubscribe?

dustinoliver
Автор

I will like to use this method to send messages on my contact form is this safe? I mean my password and username will be accessible to others?

Alex-gbmk
Автор

it seems to only want to let me have the error or have the emails send am i doing something wrong? if i comment out email sending the error works if i comment out the error the email works EDIT: nevermind i changed it to a if and else statement and got them both to work.

nealcollins
Автор

Didn't Google remove this feature of allowing less secure third-party apps to send emails by march 30th?

infinitespace
Автор

is there link to download this entire project? github or something?

cryptolover
Автор

What if i want to use this for a contact form so I know when someone contacts me, and whats the message?

ctd