Send transactional emails in Django with Brevo and Gmail

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

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

  • @CloudWithDjango
    @CloudWithDjango  2 дня назад +2

    Email settings for Brevo:
    ##################################################################################
    //settings.py
    EMAIL_BACKEND = "anymail.backends.sendinblue.EmailBackend"
    ANYMAIL = {
    "SENDINBLUE_API_KEY": "YOUR_ACTUAL_API_KEY_HERE", # Your Brevo API key
    }
    DEFAULT_FROM_EMAIL = "you@yourdomain.com" # Your verified custom domain email
    ###################################################################################
    //views.py
    from django.core.mail import send_mail
    send_mail(
    "Test Subject",
    "This is a test message.",
    "you@yourdomain.com", # Your from email
    [form.cleaned_data['email']], # Recipient email
    )
    ###################################################################################

  • @huxleynyaoga5221
    @huxleynyaoga5221 День назад

    Great tutorial Arno. Thank you.

  • @parneetsingh3143
    @parneetsingh3143 День назад

    Learned a lot. Thanks CWD

    • @CloudWithDjango
      @CloudWithDjango  День назад

      Glad to hear that learned a lot! Of course, my pleasure!

  • @ThefactorBD-kz4ql
    @ThefactorBD-kz4ql 2 дня назад

    We want more videos like this❤❤

  • @mahmoudramadan6581
    @mahmoudramadan6581 День назад

    Thanks for everything 😊

  • @alexandergarzo9415
    @alexandergarzo9415 2 дня назад

    Amazing video! keep it up!

  • @serychristianrenaud
    @serychristianrenaud 2 дня назад

    Thanks

  • @BackedMol
    @BackedMol 2 дня назад

    Nice one

  • @jithinjz
    @jithinjz 2 дня назад

    Thank you

    • @CloudWithDjango
      @CloudWithDjango  День назад +1

      My pleasure!

    • @jithinjz
      @jithinjz 22 часа назад +1

      @@CloudWithDjango how to send whatsapp message using Brevo

    • @CloudWithDjango
      @CloudWithDjango  9 часов назад

      @@jithinjz Hi. I'd suggest looking at the following documentation, as a start. developers.brevo.com/docs/whatsapp-campaigns-1 Good luck!

  • @MrValVet
    @MrValVet 2 дня назад

    I'm using Brevo in my Django app.

  • @nandhum5307
    @nandhum5307 День назад

    Thanks for this.
    One question, If we are using gmail in brevo, can we not use it directly as the email backend? If we are sending from gmail directly, there wont be any limitations and it would be free as well, right?

    • @CloudWithDjango
      @CloudWithDjango  День назад +1

      My pleasure! Yes, so If you're using Gmail directly as your email backend in Django, you can send emails for free, but there are limitations. Gmail limits the number of emails you can send per day-typically 100-500 for regular accounts and around 2,000 for Google Workspace accounts. Brevo (formerly Sendinblue) is better suited for sending larger volumes of emails or marketing campaigns, offering more flexibility and avoiding Gmail's daily limits.

  • @frameff9073
    @frameff9073 2 дня назад

    Good🎉🎉