Sending Email From Web Forms - Python and Flask #6

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024

Комментарии • 50

  • @Codemycom
    @Codemycom  4 года назад +1

    ▶️ Watch Entire Flask Playlist ✅ Subscribe To My RUclips 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

  • @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 Год назад

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

  • @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 7 месяцев назад

      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 2 года назад +2

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

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

  • @sunlord0327
    @sunlord0327 3 года назад +1

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

  • @padalakavya9800
    @padalakavya9800 3 года назад +1

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

  • @parthdutta8758
    @parthdutta8758 2 года назад

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

  • @dustinoliver8348
    @dustinoliver8348 Год назад

    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?

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

  • @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

  • @akramelomrani8728
    @akramelomrani8728 3 года назад +1

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

  • @infinitespace1982
    @infinitespace1982 2 года назад

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

  • @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?

  • @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?

  • @ma.valentinaprieto9160
    @ma.valentinaprieto9160 2 года назад

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

  • @user-ci6pu5lf6b
    @user-ci6pu5lf6b 2 года назад

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

  • @cryptolover3450
    @cryptolover3450 3 года назад

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

  • @noobmobile-gamer
    @noobmobile-gamer 2 года назад

    How can we attach an image in the form?

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

  • @revenez
    @revenez 3 года назад

    Nice! Thank you.

  • @mohammadrajha5181
    @mohammadrajha5181 2 года назад

    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  2 года назад

      I don't have any videos on that

  • @allinone-mx9cm
    @allinone-mx9cm 3 года назад

    Which is better sir Django or flask to learn first?

    • @Codemycom
      @Codemycom  3 года назад

      whichever you want, it doesn't matter

  • @relicshirts548
    @relicshirts548 2 года назад

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

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

  • @Ardassali
    @Ardassali 2 года назад

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

  • @dailylegend
    @dailylegend 2 года назад

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

  • @navpan18
    @navpan18 4 года назад +1

    First view

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