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

How to send mail to the post author when got new comment in django rest framework through serializer?

I am trying to build an API where students will ask questions and the teacher will answer that question. For asking questions and answering I am using the blog post way. Now, my problem is I am trying to send mail from the serializer. But when I…
0
votes
0 answers

Incorrect Authentication Data

I tryng to send email in my django projects. Here is my settings:- EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST = 'gmail.com' # EMAIL_USE_TLS = True EMAIL_USE_SSL = True EMAIL_PORT = 465 EMAIL_HOST_USER =…
itna sakib
  • 31
  • 4
0
votes
1 answer

Can't change the name form which the email is being sent

Here is the code that I am using subject = 'Opinion - OTP for login' message = 'Your OTP to login is {}'.format(callbacktoken) email_from = 'Opinion@noreply.com' # email_from = settings.EMAIL_HOST_USER recipient_list = [email] …
Sid
  • 378
  • 1
  • 13
0
votes
1 answer

Django-mailer customizing admin area

When using django mailer (https://github.com/pinax/django-mailer) I realized that the default tables added to the admin area (such as Message logs and Messages) did not add the message_log field which indeed is available if one looks at the tables…
Thorvald
  • 546
  • 6
  • 18
0
votes
2 answers

How to send HTML in email using Django?

i am New in Django. i want to send html via Email using django. i am using following Code send_mail( 'Email Title', 'My Message', 'webmaster@localhost', [to mail], …
user13940110
0
votes
1 answer

Django-mailer - autosend not working locally (maybe: bad localhost crontab path?)

I'm new to django and I've installed django-mailer 2.0. It's working when I manually send the queued mails: (venv)$ python manage.py send_mail, but when I set up the crontab (which is the first time I use a cron job), it's not working. I guess there…
LD8
  • 176
  • 3
  • 14
0
votes
3 answers

Django mail not sending mail

I have created a function the would send mail to a particular user when redirected to a particular url. It was working until today. However, today when it gets redirected to the url, the email is displayed in the terminal and not in the inbox of…
Srvastav4
  • 177
  • 2
  • 12
0
votes
1 answer

Using two different email fo sending eemail in Django

I want to use two email, one for verifying the email and other for sending normal informative emails. I am able to send email for verification with the following code and I want to use my another email for that second perpose. views.py …
FightWithCode
  • 2,190
  • 1
  • 13
  • 24
0
votes
1 answer

get field label, help_text and value as context after form submission

I want to send email to the user based on his/her response. How do I set the context so that I can access label, help_text and value of each field in my template. forms.py class ResponseForm(ModelForm): def __init__(self, *args, **kwargs): …
Pritam
  • 333
  • 3
  • 13
0
votes
1 answer

Django mail failed to send mail to icloud mail id

I used the below code from django.core.mail import EmailMessage email = EmailMessage('Hello', 'World', to=['user@gmail.com']) email.send() the message is sent when I used any other mail except icloud, the code says the message has been sent but I…
Madmax
  • 1
0
votes
1 answer

send_mail works locally but not on production hosting

The following works locally but as I deployed it to production hosting at Digital Ocean, the email is not sending as I test on shell command (python manage.py shell) like below. The send_mail line just got stuck there and am getting error: [Errno…
djreenykev
  • 143
  • 2
  • 14
0
votes
1 answer

Send mail with Inline images in Django using django-mail-queue

I want to send inline promotional images in mail content like e-commerce websites sends in their mail. For mailing I have used django-mail-queue package, but I don't know it is supported in it or not. I would appreciate if you help me out. Another…
Darshit
  • 420
  • 2
  • 11
0
votes
0 answers

The django-mailer send emails passing query

I want use queue for send my emails. For this I use the django-mailer with follow config EMAIL_BACKEND = 'mailer.backend.DbBackend' MAILER_EMAIL_BACKEND = 'django.core.mail.backends.filebased.EmailBackend' #for test EMAIL_FILE_PATH =…
Dmitry
  • 551
  • 6
  • 19
0
votes
1 answer

Django Mailer not finding server

I'm trying to send an email through Django's wrapper. Here are my relevant settings. EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_USE_TLS = True EMAIL_HOST = 'smtp.gmail.com' EMAIL_HOST_USER =…
Patrick Connors
  • 5,677
  • 6
  • 27
  • 54
0
votes
0 answers

Can not send email from django localhost

I want to test sending out emails. My app used to worked perfectly well in sending notification emails, but for some reason Ubuntu stopped sending emails. in the settings I have: EMAIL_BACKEND =…
Jand
  • 2,527
  • 12
  • 36
  • 66