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?
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.
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
)
###################################################################################
Great tutorial Arno. Thank you.
My pleasure!! Glad that you liked it!
Learned a lot. Thanks CWD
Glad to hear that learned a lot! Of course, my pleasure!
We want more videos like this❤❤
Thank you for your feedback and support!
Thanks for everything 😊
My pleasure!!
Amazing video! keep it up!
Thank you so much!!
Thanks
My pleasure!
Nice one
Thank you!
Thank you
My pleasure!
@@CloudWithDjango how to send whatsapp message using Brevo
@@jithinjz Hi. I'd suggest looking at the following documentation, as a start. developers.brevo.com/docs/whatsapp-campaigns-1 Good luck!
I'm using Brevo in my Django app.
Oh awesome!! 💪
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?
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.
Good🎉🎉
Thank you!