Sending Email From Web Forms - Python and Flask #6

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ม.ค. 2025

ความคิดเห็น • 50

  • @Codemycom
    @Codemycom  4 ปีที่แล้ว +1

    ▶️ Watch Entire Flask Playlist ✅ Subscribe To My TH-cam Channel:
    bit.ly/2TU96lm bit.ly/2IGzvOR
    ▶️ See More At: ✅ Join My Facebook Group:
    Codemy.com bit.ly/2GFmOBz
    ▶️ Learn to Code at Codemy.com
    Take $30 off with coupon code: youtube1

  • @navoditsachdeva4986
    @navoditsachdeva4986 4 ปีที่แล้ว +4

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

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว +2

      Happy to hear that!

  • @kitibwarich7756
    @kitibwarich7756 3 ปีที่แล้ว

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

    • @Codemycom
      @Codemycom  3 ปีที่แล้ว

      Glad to help

  • @axn5556
    @axn5556 2 ปีที่แล้ว

    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.

    • @Codemycom
      @Codemycom  2 ปีที่แล้ว

      Glad it worked for you! :-)

  • @r.jgrondin8018
    @r.jgrondin8018 2 ปีที่แล้ว

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

  • @sunlord0327
    @sunlord0327 4 ปีที่แล้ว +1

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

  • @DavidCampos-ri1np
    @DavidCampos-ri1np ปีที่แล้ว +1

    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

    • @Codemycom
      @Codemycom  ปีที่แล้ว

      I don't know of any work around. You usually want to use a third party like mailgun to send email from your apps anyway...

    • @ohkshit8500
      @ohkshit8500 11 หลายเดือนก่อน

      Not sure if you're still at it, but for future reference, you need to set up 2FA and create an app password in security section in google accounts. Then use the app password instead of your regular password.

  • @heinergiehl3869
    @heinergiehl3869 3 ปีที่แล้ว +2

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

  • @padalakavya9800
    @padalakavya9800 3 ปีที่แล้ว +1

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

  • @dustinoliver8348
    @dustinoliver8348 2 ปีที่แล้ว

    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?

  • @infinitespace1982
    @infinitespace1982 2 ปีที่แล้ว

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

  • @lolesportshub239
    @lolesportshub239 2 ปีที่แล้ว +1

    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...

  • @nealcollins3395
    @nealcollins3395 3 ปีที่แล้ว

    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.

  • @noobmobile-gamer
    @noobmobile-gamer 2 ปีที่แล้ว

    How can we attach an image in the form?

  • @ctd100
    @ctd100 3 ปีที่แล้ว

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

  • @ma.valentinaprieto9160
    @ma.valentinaprieto9160 3 ปีที่แล้ว

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

  • @cryptolover3450
    @cryptolover3450 4 ปีที่แล้ว

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

  • @relicshirts548
    @relicshirts548 3 ปีที่แล้ว

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

  • @mohammadrajha5181
    @mohammadrajha5181 3 ปีที่แล้ว

    bro, please if i wanna send for a person page html to reset password how
    like when someone want to reset password directly reach message for his email to reset it

    • @Codemycom
      @Codemycom  3 ปีที่แล้ว

      I don't have any videos on that

  • @akramelomrani8728
    @akramelomrani8728 4 ปีที่แล้ว +1

    socket.gaierror: [Errno 11001] getaddrinfo failed
    help please

  • @Alex-gb8mk
    @Alex-gb8mk 4 ปีที่แล้ว

    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?

  • @janirico5641
    @janirico5641 4 ปีที่แล้ว +1

    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.

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว +1

      Sorry, that's too complicated to explain in a comment.

  • @Qubitmyst
    @Qubitmyst 2 ปีที่แล้ว

    Nice video for sending , but i do not find a way how to receive an message in your box if a subscriber send to you ?

    • @Codemycom
      @Codemycom  2 ปีที่แล้ว

      That has nothing to do with your app...that's just email.

  • @dailylegend
    @dailylegend 3 ปีที่แล้ว

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

  • @devrajash7685
    @devrajash7685 4 ปีที่แล้ว

    sir i have tried the same way but its shows starrtls error when i tried to deploy in pythonanywhere... please help me out..

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว

      Deployment is a whole process...it would take a couple videos for me to explain it. Eventually I'll do videos on that, but not for a few weeks at least.

    • @devrajash7685
      @devrajash7685 4 ปีที่แล้ว

      @@Codemycom thank you sir...we will wait for that... once again thank you so much...for you poor ppl like me get chance to learn coding with out paying a single penny..

  • @revenez
    @revenez 4 ปีที่แล้ว

    Nice! Thank you.

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว +1

      Very welcome!

  • @ОлегЕвгеньевич-й8в
    @ОлегЕвгеньевич-й8в 2 ปีที่แล้ว

    Thank you very mach I know English by A2, but I understand ALL

  • @allinone-mx9cm
    @allinone-mx9cm 4 ปีที่แล้ว

    Which is better sir Django or flask to learn first?

    • @Codemycom
      @Codemycom  4 ปีที่แล้ว

      whichever you want, it doesn't matter

  • @Ardassali
    @Ardassali 3 ปีที่แล้ว

    I'm still waiting formula of meth. BTW You're teaching better than Mr.White. Thank You Mr.Elder

  • @navpan18
    @navpan18 4 ปีที่แล้ว +1

    First view

  • @parthdutta8758
    @parthdutta8758 3 ปีที่แล้ว

    After doing everything, still not sending email, even after turning on the less secured option. Any help?

  • @naruscape1
    @naruscape1 4 ปีที่แล้ว

    "Messages with multiple addresses in From: header are not accepted". I'm getting this error from google, How can I address this?? please help