Questions tagged [django-mailer]

Django-mailer is a pluggable django app for mail queuing and management

Django-mailer is a pluggable django app for mail queuing and management

Quote from docs:

A reusable Django app for queuing and throttling of email sending, scheduled sending, consolidation of multiple notifications into single emails and logging of mail failures.

50 questions
513
votes
12 answers

RuntimeWarning: DateTimeField received a naive datetime

I m trying to send a simple mail using IPython. I have not set up any models still getting this error. What can be done? Error : /home/sourabh/Django/learn/local/lib/python2.7/site-packages/django/db/models/fields/init.py:827: RuntimeWarning:…
shifu
  • 6,586
  • 5
  • 21
  • 21
255
votes
12 answers

Creating email templates with Django

I want to send HTML-emails, using Django templates like this: hello {{username}} your account activated. I can't find anything about send_mail, and django-mailer only sends…
Anakin
  • 3,070
  • 4
  • 21
  • 12
14
votes
4 answers

Testing Django email backend

In my settings.py, I put: EMAIL_BACKEND = 'mailer.backend.DbBackend' So even when importing from from django.core.mail import send_mail, the send_mail function still queues up the email in the database instead of sending it immediately. It works…
wrongusername
  • 18,564
  • 40
  • 130
  • 214
10
votes
3 answers

How does one send an email to 10,000 users in Django?

My Django application has 10,000 users, all with emails. I would like to send an email message to all of them say once a month. This message could have some pdf attachments. What I have tried is using an EmailMessage object to send an email to all…
dangerChihuahua007
  • 20,299
  • 35
  • 117
  • 206
10
votes
1 answer

How to test send_mail in Django?

Using Django 1.7 and Python 2.7. I want to test if the mail was sent and if the content of the mail is correct. I've tried using outbox from django.core.mail, but to no avail. Also could I just get the stdout (since I can see the mail in the…
Saša Kalaba
  • 4,241
  • 6
  • 29
  • 52
8
votes
1 answer

Django email backend with local smtp

I want send email from django application. I want send an email to my mail id from other username without authentication. Just i used smtp server for the authenticated mail.In the django mail api How it is supposed to send an mail with the local…
Nava
  • 6,276
  • 6
  • 44
  • 68
7
votes
4 answers

MySQL Error 1118 (Row size too large) when restoring Django-mailer database

I dumped a working production database from a django app and am trying to migrate it to my local development environment. The production server runs MySQL 5.1, and locally I have 5.6. When migrating the django-mailer's "messagelog" table, I'm…
Greg Humphreys
  • 968
  • 1
  • 7
  • 11
5
votes
3 answers

Django getting error :send_mail() got an unexpected keyword argument 'fail_silently' on sending mails

I am new to django and trying to use django emailer. I have provided the following settings for mail in settings.py : EMAIL_USE_TLS = True EMAIL_HOST='smtp.gmail.com' EMAIL_HOST_USER='ant@a.com' EMAIL_HOST_PASSWORD='******' EMAIL_PORT = 587 I have…
Nishant Kumar
  • 81
  • 1
  • 7
5
votes
2 answers

Django send_mail() from EC2 via Gmail gives SMTPAuthenticationError - but works fine in localhost

Django project settings.py includes the following: EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend" EMAIL_HOST = "smtp.gmail.com" EMAIL_HOST_USER = "you.cant.see.me@gmail.com" EMAIL_HOST_PASSWORD = "thug_life" EMAIL_PORT =…
Rakib
  • 12,376
  • 16
  • 77
  • 113
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
1 answer

django-notification & django-mailer... how do they work together?

I'm looking at implementing some email notification in my app. Django-notification or Django-mailer both look appropriate. I'm reading through the docs and trying to figure out how they work together. from the…
w--
  • 6,427
  • 12
  • 54
  • 92
4
votes
2 answers

I want to create a reusable function in Django

I am new to django and have been working on a project where i need to send regular mails to my clients from different modules in my django project. I wanted to know if there is any provision in django using which i can create a reusable component…
Vivek Cu
  • 127
  • 1
  • 2
  • 9
4
votes
2 answers

How to do scheduled sending of email with django-mailer

I'm making a django app that needs to be able to make emails and then send these out at a given time. I was thinking i could use django-mailer to put things in que and then send it of. But even though theire sample case list, lists that this is a…
espenhogbakk
  • 11,508
  • 9
  • 39
  • 38
3
votes
1 answer

Is there a Django app to aggregate/consolidate notifications to be mailed at once?

Today our website emails the user for every "event" who needs to be notified, but the number of "notifications" is becoming huge, annoying our users with tons of daily emails. Instead, I want to aggregate the notifications and send only one email…
alanjds
  • 3,972
  • 2
  • 35
  • 43
3
votes
1 answer

Django - Sending Bulk Mails using django-mailer

I am using django-mailer for sending emails. I have cron job running to send mails from the queue every minute. I use GMail's SMTP server to send mails. django-mailer will send mails one by one. The issue is each e-mail is taking 3-5 seconds to be…
Siva Arunachalam
  • 7,582
  • 15
  • 79
  • 132
1
2 3 4