Using Flask-Mail to Send Email Confirmation Links

preview_player
Показать описание
Email confirmation links are very common in web apps. You want them so you don't have people signing up to your app using random emails. In this video I show you how to use Flask-Mail and itsdangerous to generate and send email confirmation links.

Рекомендации по теме
Комментарии
Автор

Man people can build a whole web app just by watching this channel keep it up.

quechon
Автор

Dude you make such amazing videos! I am a self taught programmer and your explanations are so clearly laid out and thorough I 100% appreciate it. I am working on my first webapp now with Flask and I have made so much progress thanks to you. Thank you again and keep on making great vids!

sinabooeshaghi
Автор

Wow, this was one of the most straight forward tutorials ever! Thank you so much!

oppzreq
Автор

Amazing video! Your style of teaching is great! Easy to understand, quick, and to the point. Thank you so much!

evanwallace
Автор

I don't speak much english but I want say to u THANK U VERY VERY MUCH! Your tutorials are useful for me!

ValeriiPavlikov
Автор

You made me stuck into Flask, not Php and CodeIgnite anymore. thanks.

bispro
Автор

Your are really good at what you do. This helped me integrate email validation with my flask python. Without the usual rabbit hole of issues that I run into. I really appreciate the video. Keep up the great work!

guershondorismond
Автор

I learn a lot with your content. Great job!

handelsassistentenundtradi
Автор

A very clear tutorial on a useful topic

eugeneodonnell
Автор

Thank you! This video helped me a lot! I was stuck on Email sending for a while: I was using Gmail and found out that "Less secure app access" was no longer available, so I switched to Zoho email and it finally worked well.

olegpyzh
Автор

Great video again. Learn a lot from this channel !!

verygood
Автор

Great tutorial, and no dislikes prove that!

WannaSeeWhatYouGot
Автор

Thanks a ton for such cool video!! Very useful! Great job!

artemkhmil
Автор

Amazing Video!!! Thanks for sharing it.

peralser
Автор

Hey Anthony, quality content as usual! I actually implemented this during the weekend, could have used your video then, but luckily I managed anyway!

As a follow-up question, since I couldn't find a way to expire the token manually when a link has been clicked, I set up a table for each token which I then set to used=True after a token has been used successfully. My gut tells me it would be cleaner to completely delete the token from the DB when it's been used, but then I can't come up with a solution how to tell if it's been used unless I actually query the database instead of comparing the token from the UrlSerializer of course... Come to think of it.

Anyway! So far, so good. But I was wondering if a token could actually be generated identically twice, because that could eventually become an issue with password-resets etc for my current solution (just setting the token to used).

Again, many thanks for your videos!

mpt
Автор

Thank you for this! I have a question, is there a way to make this link only clickable once. Like a onetime link?

irmapreldzic
Автор

great work dude!!! thanks for your video.

shardulkulkarni
Автор

Hi may I have the configuration for gmail? Thanks :)

premierlin
Автор

ERROR:
STARTTLS extension not supported by server.
(all data from mail server i put in code, but not works)

Anshegar
Автор

how can i get mail server for my gmail?

gurdeepsingh