Questions tagged [django-email]

django-email refers to questions about sending emails in your Django application

django-email refers to questions about sending emails in your Django application.

See documentation.

325 questions
5
votes
2 answers

How to force error reporting from django management commands?

We are running custom management commands periodically on the server. Is there any way to get something like error reporting via email working for the command?
Oleksiy
  • 6,337
  • 5
  • 41
  • 58
5
votes
3 answers

How can I send emails in Django using smtp.EmailBackend without authenticating with the mail server

Is there a way to explicitly tell Django not to authenticate with the mail server when sending the emails. I am currently using the following settings in my settings.py for sending emails. EMAIL_BACKEND =…
N. Solomon
  • 140
  • 2
  • 7
5
votes
1 answer

Can I hash/encrypt or otherwise protect emails in my Django app from hackers?

Hoping for a simple function I can use to store emails securely and retrieve easily when required to send emails.
user2916527
  • 529
  • 4
  • 17
5
votes
2 answers

Django email digest

Is there an existing plug-in to produce daily or weekly digest emails in Django? (We want to combine many small notifications into one email, rather than bother people all the time.) Django-mailer claims to support this, but I'm told it doesn't…
Jane Sales
  • 13,526
  • 3
  • 52
  • 57
4
votes
2 answers

How do I support users with multiple emails in Django?

I am creating a Django application in which users can have multiple emails including a primary one. In Django, the SQL user table has a single CharField to store a single email address. My current plan is to create a new model called say…
dangerChihuahua007
  • 20,299
  • 35
  • 117
  • 206
4
votes
2 answers

Django - testing emails with the outbox using post_office

I'm writing tests for an application that uses the django-post_office package for most of its email functionality. The default django.core.mail library contains plenty of useful tools for testing whether or not there are actually emails being sent.…
Jasper
  • 2,131
  • 6
  • 29
  • 61
4
votes
1 answer

How to change sender email name in Django

I need to send an email from Django with 'Team Example' as a sender and by default, no-reply@example.com is used. I have tried this as mentioned in other StackOverflow questions DEFAULT_FROM_EMAIL = 'Team Example ' in…
Abishek
  • 369
  • 4
  • 21
4
votes
6 answers

Make Django build-in send_mail function working with html by default

I want to substitute build-in send_mail function, that works only with plain-text emails, with my own smart send_mail function, that generates both html and plain-text versions automatically. Everything works as expected for my own emails, defined…
ramusus
  • 7,789
  • 5
  • 38
  • 45
4
votes
2 answers

Django - email app

Could you please suggest any available app for sending & managing emails in django?
Siva Arunachalam
  • 7,582
  • 15
  • 79
  • 132
4
votes
4 answers

How to send emails through Django using a private domain email address?

I registered a domain and a private email using namecheap.com. I am trying to send an email from this private email. However, I get the error in the title. In my settings.py, I have these settings: EMAIL_HOST =…
darkhorse
  • 8,192
  • 21
  • 72
  • 148
3
votes
1 answer

Django module not found error: email verification

I'm new to python and Django so sorry in advance if I'm missing something obvious. I'm trying to install the module 'django-email-verification' following this tutorial to add email verification to my users. I've already done the pip install while on…
Joel
  • 31
  • 4
3
votes
2 answers

Django SendGrid how to pass unique_args in EmailMultiAlternatives mail object

SendGrid provides the ability to pass unique_args with email so that to identify the email in the Event webhook. But the problem is I am not able to figure out how to send these unique_args with the email in Django. This is how I am currently…
Shahid Tariq
  • 886
  • 6
  • 19
3
votes
0 answers

How to test EmailMessage .send() with backend modified by EmailBackend

How to test emails send via EmailMessage .send() when email backend is set by EmailBackend object? As the backend is modified inside this function mail.outbox does not store any outgoing emails. What would be the most Django way of approaching…
Jakub_S
  • 143
  • 1
  • 10
3
votes
2 answers

Inserting a Django URL into a custom email template

I'm trying to send a Django email in a custom template that I made for my site. However, I can't get the Django URL link to work properly. Without the template, I can get the link to work. The username works for reference. Does anyone know how to…
user10421193
  • 217
  • 2
  • 11
3
votes
2 answers

Not able to pass SendGrid verification with Django

I'm currently reading a book on Django (for beginners) and I reached the point where I need to implement a password reset feature to the test website using SendGrid SMTP Relay. After creating an account and starting to create the SMTP relay I…
Nazim Kerimbekov
  • 4,712
  • 8
  • 34
  • 58
1 2
3
21 22