django-email Questions

2

Solved

I'm using a custom email backend in my Django application (CeleryEmailBackend in this case): EMAIL_BACKEND = 'djcelery_email.backends.CeleryEmailBackend' My logging configuration: LOGGING = { ...
Scabious asked 25/9, 2013 at 9:54

6

Solved

I have configured Django to use a file backend for email sending on my local machine. This seemed to work fine earlier on, and all mails were recorded in the directory I had specified in my setting...
Dawkins asked 19/4, 2018 at 7:38

2

Solved

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?

4

I want to send email in Django application using Outlook's SMTP server. The problem is, I get SSL wrong version number error every time I'm trying to send a message. Error traceback: Traceback (m...
Sagesagebrush asked 14/8, 2013 at 7:8

8

Solved

I have followed the Django Book up until chapter seven, and I am currently messing around with forms, GET, POST and all that goodness. At one point, the guide made me figure out the reaction, after...
Columbary asked 21/7, 2011 at 21:1

9

I am using the Django password reset. I have this code in my settings.py: EMAIL_USE_TLS = True EMAIL_HOST = 'smtp.gmail.com' EMAIL_PORT = 587 EMAIL_HOST_USER = '[email protected]' EMAIL_HOST...
Pembrook asked 2/12, 2013 at 10:14

13

Solved

In my settings.py, I have the following: EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' # Host for sending e-mail. EMAIL_HOST = 'localhost' # Port for sending e-mail. EMAIL_PORT ...
Meadowsweet asked 16/6, 2011 at 4:11

6

Solved

Django error reporting handles uncaught exceptions by sending an email, and (optionally) shows user a nice 500 error page. This works very well, but in a few instances I'd like to allow users to ...
Mook asked 1/4, 2015 at 13:37

4

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:...
Brassy asked 1/7, 2016 at 15:22

2

Solved

My settings.py: EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' EMAIL_USE_TLS = True EMAIL_HOST = 'smtp.gmail.com' EMAIL_PORT = 587 EMAIL_HOST_USER = '[email protected]' ...
Specialistic asked 11/6, 2013 at 10:26

12

Solved

I want to send HTML-emails, using Django templates like this: <html> <body> hello <strong>{{username}}</strong> your account activated. <img src="mysite.com/logo.gif" /&...
Kendry asked 11/5, 2010 at 9:41

2

Solved

I want to improve deliverability rates by providing both text-only and html versions of emails: text_content = ??? html_content = ??? msg = EmailMultiAlternatives(subject, text_content, '[email&#...
Hansen asked 3/8, 2017 at 2:44

2

Solved

When the view that sends the email is used nothing happens, i then entered send_mail(...) into the python shell and it returned 1 but i didn't receive any emails. This is my settings.py EMAIL_BACKE...
Tighe asked 30/4, 2012 at 13:39

5

Solved

Is there a way to get Django to email me error reports even though I have debug set to True? I didn't see anything in the docs. Edit: I'm on Django 1.2 if it matters. No, this isn't a productio...
Yila asked 24/6, 2011 at 12:9

1

Solved

Settings: EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' EMAIL_HOST = 'smtp.mailgun.org' EMAIL_PORT = 587 EMAIL_HOST_USER = '[email protected]' EMAIL_HOST_PASSWORD = 'passwo...
Torras asked 13/11, 2018 at 17:27

5

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...
Parasite asked 30/6, 2016 at 23:14

1

Solved

I'm using allauth version 0.35.0 and I want to override email templates to make my desired HTML template for them. No problem with allauth login and SignUp and etc. pages But I can't find any templ...
Guienne asked 4/8, 2018 at 10:51

1

It seems from the docs on email that HTML is supposed for send_mail() but not send_mass_mail(). Is my understanding correct, and if so is there a work-around to get the send_mass_mail() functionali...
Brumal asked 15/10, 2014 at 8:34

3

I am sending HTML E-mail from Django like this: template_html = "email/deposit_email.html" email_context = Context({ 'contact': contact, 'amount': amount}) subject, from_email, to = 'Deposit Su...
Tanguy asked 14/11, 2013 at 5:39

2

Solved

I'm looking for a way to send bulk emails to users from a Django Admin Action. This is what I have thus far: class MyUserAdmin(UserAdmin): list_display = ['username', 'email', 'first_name', 'last...
Feud asked 4/9, 2013 at 16:50

2

How do you send email from Django using a hosted SMTP account (specially on Namecheap)? I thought this would be straight forward, and simply a matter of filling out the standard EMAIL_* fields in ...
Sled asked 4/7, 2013 at 4:35

4

Solved

My Django application sends out quite a bit of emails and I've tried testing it thoroughly. However, for the first few months, I'd like to log all outgoing emails to ensure that everything is worki...
Improvisator asked 26/9, 2011 at 8:11

1

Solved

I'm trying to setup Django on an AWS instance to send emails through my main website's server (non-AWS) rather than needing to use external mail services such as Mandrill, Amazon SES... etc I firs...
Kelwin asked 27/4, 2016 at 22:40

1

Solved

Hoping for a simple function I can use to store emails securely and retrieve easily when required to send emails.
Faubion asked 17/12, 2013 at 23:52

3

Solved

Imagine a situation in which a user performs an action on a website and admins are notified. Imagine there are 20 admins to notify. By using normal methods for sending emails with Django the user w...
Wb asked 2/10, 2011 at 11:30

© 2022 - 2024 — McMap. All rights reserved.