Send emails in Django in less than 5 minutes!

Поділитися
Вставка
  • Опубліковано 5 вер 2024

КОМЕНТАРІ • 30

  • @CodeWithClinton
    @CodeWithClinton  8 місяців тому +3

    settings.py:
    EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
    EMAIL_HOST = 'smtp.gmail.com'
    EMAIL_PORT = 587
    EMAIL_HOST_USER = 'sender_email@gmail.com'
    EMAIL_HOST_PASSWORD = 'app-password'
    EMAIL_USE_TLS = True
    EMAIL_USE_SSL = False

    • @abisolaoladeji3405
      @abisolaoladeji3405 6 місяців тому

      I can not seem to make the Email worked.
      I followed the tutorial lines by lines, the gmail smtp, is it still working?

    • @CodeWithClinton
      @CodeWithClinton  6 місяців тому

      @@abisolaoladeji3405 you are definitely missing something, the video immediately after this has the complete source code.

    • @misatran1107
      @misatran1107 3 місяці тому

      It not work form me in the first time. But when I delete and create new app, update pass_host=> it work. Thank Clinton so much for sharing very detail

    • @CodeWithClinton
      @CodeWithClinton  3 місяці тому

      @@misatran1107 you're welcome.

  • @halitozkaya2885
    @halitozkaya2885 3 місяці тому

    Super useful video that fixes the issue with the "Less Secure Apps" setup that I see everywhere on the internet. Thank you!

  • @alibiamanzolov1265
    @alibiamanzolov1265 7 місяців тому

    Thhanks for the relevant and straightforward tutorial!

  • @santiagofernandez5522
    @santiagofernandez5522 3 місяці тому

    Thank you for the video! It has been very helpful!!

  • @resbrotherx
    @resbrotherx 3 місяці тому

    thanks bro this helped alot

  • @riclerico
    @riclerico 7 місяців тому

    Hi Clinton, i recently came accross celery as a message queue application of some sort.

  • @Hizar_127
    @Hizar_127 24 дні тому

    The code runs without throwing any errors. However, the email is not being received by the recipient. The email is also not appearing in the "Sent" folder of the sending Gmail account.
    i configured it everything but still email is not receiving

    • @CodeWithClinton
      @CodeWithClinton  20 днів тому

      Did you copy the settings configuration from my code?

    • @Hizar_127
      @Hizar_127 13 днів тому

      @@CodeWithClinton yes

  • @CaptainChunk41
    @CaptainChunk41 Місяць тому

    I followed the steps but I keep getting this error, what could be causing this? "ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)"

  • @weixiangng8279
    @weixiangng8279 3 місяці тому

    How about using just button click and send email? Is this possible?

  • @e-h-ashiq
    @e-h-ashiq 8 місяців тому

    Hey could you please make a video on django on this topic - " How to make schedule task perform in django. for example i have to to assign monthly fee for all the student in management system, so how can i do that " ? please help

    • @CodeWithClinton
      @CodeWithClinton  8 місяців тому

      I have a content schedule I follow. 🙏

  • @user-uh1kb5ow2q
    @user-uh1kb5ow2q 6 місяців тому

    Getting this error message. "[Errno 101] Network is unreachable". What could be causing it?

    • @CodeWithClinton
      @CodeWithClinton  6 місяців тому +1

      I can't really say what the issue is, paste the error on Google search bar.

  • @oluwaseunogunmolu
    @oluwaseunogunmolu 8 місяців тому

    Anonymous users can login to your account using app password. You can delete all your app passwords after this video.

    • @CodeWithClinton
      @CodeWithClinton  8 місяців тому

      Thank you so much, I am deleting it now.

  • @santiagofernandez5522
    @santiagofernandez5522 3 місяці тому

    Thank you for the video! It has been very helpful.