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
2
votes
2 answers

Sending Asynchronous Mail in Django - without writing to database?

I'm looking to speed up loading time for my website by sending my mail asynchronously. Currently, my code looks something like this: def myFunction(content): result = modify(content) send_mail('My Subject', result, 'me@example.com') return…
bones225
  • 1,488
  • 2
  • 13
  • 33
2
votes
2 answers

how to use django mailer without PINAX

I want to use django-mailer without PINAX. When I run ./manager.py send_mail it prints: Unknown command: 'send_mail' Type 'manage.py help' for usage. How do I fix this? Python 2.5.1 (r251:54863, Sep 22 2007, 01:43:31) [GCC 4.2.1 (SUSE Linux)] on…
fallhunter
  • 551
  • 1
  • 9
  • 16
1
vote
1 answer

Django Mailer 2 -- will running the command via cron double up the commands?

I am using Django-Mailer-2 to send email from a Django App. If I have the command python manage.py send_mail run every 5 minutes via the crontab, it will send any emails that have been added to the queue. If I add 1,000 emails to the queue all at…
Garfonzo
  • 3,876
  • 6
  • 43
  • 78
1
vote
0 answers

Getting Django - [Errno 111] Connection refused error

when Im trying to verify user registration via email its showing [Errno 111] Connection refused error in production but works fine in localhost settings.py EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST =…
Noob Coder
  • 11
  • 1
1
vote
2 answers

Sending email with attached .ods File

send_mail('Subject here', 'Here is the message.', 'selva@gmail.com', ['stab@gmail.com'], fail_silently=False) mail = send_mail('Subject here', 'Here is the message.', 'selvakumaremmy@gmail.com', ['vsolvstab@gmail.com'],…
selvakumar
  • 620
  • 1
  • 8
  • 30
1
vote
0 answers

django-mailer - how to send_mail() asynchronously in Django

Is there a way to send a mail using django-mailer instantly? As I see it now, send_mail() of django-mailer puts the mail on the queue and I need to run a periodic task that runs after every X minutes to send all mails in the queue. I have a small…
dowjones123
  • 3,695
  • 5
  • 40
  • 83
1
vote
1 answer

How to send e-mail from Django to more than 10 thousand subscribers without getting out of memory

I am using the basic version of Webfaction server to host my web application written in Python/Django. I am adding newsletter feature. There are more than 10 thosuand subscribers are still growing. How to send the newsletter to each of them. This is…
pynovice
  • 7,424
  • 25
  • 69
  • 109
1
vote
1 answer

django-mailer error whent trying to send mail

I have followed the installation steps provided by the repository provider of django-mailer but when I try the ./manage.py test mailer command or ./manage.py send_mail command I receive this error: from six.moves.urllib.parse import…
Ales Maticic
  • 1,895
  • 3
  • 13
  • 27
1
vote
1 answer

Password Reset-Sending mail doesnt work

Setting.py- EMAIL_BACKEND = "mailer.backend.DbBackend" EMAIL_SUBJECT_PREFIX = "[.....]" EMAIL_HOST = 'smtp.gmail.com' EMAIL_HOST_PASSWORD = 'tester@@abcd' EMAIL_HOST_USER = 'tester.abcd@gmail.com' EMAIL_PORT =…
user2842009
1
vote
1 answer

django-mailer getting [Errno 61] Connection refused

In my project I'm sending my mails via Amazon Services. The thing is I have to send Daily Digests to all users in my system. That's why I thought it'd be a good idea if I use django-mailer to handle such a process. I can send mails through…
iva123
  • 3,395
  • 10
  • 47
  • 68
1
vote
1 answer

How do I make the built-in password_reset view use django-mailer?

I'm using django-registration on my web app. I also already use django-mailer to send a few notification emails. Django registration enables the builtin password reset feature (here), by delegating the resetting logic to…
Tony Lâmpada
  • 5,301
  • 6
  • 38
  • 50
1
vote
1 answer

Replace django.core.mail.send_mail() across all apps?

Is it possible to replace calls to django.core.mail.send_mail() across my entire project (including third-party projects in my INSTALLED_APPS) with a custom send_mail()? I'm integrating django-mailer with my project, which provides a replacement…
Hakan B.
  • 2,319
  • 23
  • 29
0
votes
0 answers

"WinError 10060" A connection attempt failed because the connected party did not properly respond after a period of time,

Am getting the above error when trying to send email to user to activate the account. I nor have error in my code and l dont know what brings it. the error is below [WinError 10060] A connection attempt failed because the connected party did not…
Byansi
  • 37
  • 7
0
votes
0 answers

TypeError: cannot pickle '_io.BufferedReader' object when sending e-mail with Django-mailer and Djoser

The problem I'm trying to send a Djoser user's activation email using django-mailer. However, I receive the following error: TL;DR: TypeError: cannot pickle '_io.BufferedReader' object FULL: Traceback (most recent call last): File…
0
votes
0 answers

How can I fix not enough values to unpack (expected 2, got 1)?

My goal is to send contact form information in my Gmail when a user will submit the contact form. I tried different ways, but couldn't solve it. What's wrong here? Please give me a relevant solution... setting.py: EMAIL_HOST =…
Mossaddak
  • 379
  • 1
  • 14