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
0
votes
1 answer

Django not sending emails

I have a simple django application and that I can't seem to get to send emails. In my settings file I have: EMAIL_USE_TLS = True EMAIL_HOST = 'smtp.gmail.com' EMAIL_PORT = 587 EMAIL_HOST_USER = 'MyHost@gmail.com' EMAIL_HOST_PASSWORD =…
0
votes
2 answers

Django smpt email backend slowing down performance

I'm developing/serving currently locally. I'm using django-admin for internal users to add items. I add in my signal code. My signal is post_save and it's purpose is to send an email to a user for approval. I test my signal using…
Rach Odwyer
  • 184
  • 1
  • 14
0
votes
1 answer

Django email attachment of an uploaded file using modelname.filevariable.url

I have a Django library application, wherein from a list of books, the customer can email a particular book's pdf file link that was originally uploaded using FileField by the admin. Now, the email is being sent/received successfully, however the…
Simran
  • 593
  • 1
  • 14
  • 37
0
votes
1 answer

django: messages.add_message not displaying in html page

I have a Django library application, wherein I have a book_detail page in which the user can download/email the book's pdf link to himself. On sending such an email(which is working perfectly, the email is being received), I want to display a pop-up…
Simran
  • 593
  • 1
  • 14
  • 37
0
votes
1 answer

Django Send Email with forbidden access permission

I am now using Django as the backend API endpoints and I want to send out email to for notification. settings.py #Email settings EMAIL_USE_TLS = True EMAIL_USE_SSL = False EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST =…
fancylynn
  • 139
  • 1
  • 12
0
votes
1 answer

Python Django 2 Email Verification on User SignUp

I'm working on a project using Python(3.6) and Django(2.0) in which I need to verify the user's email on registration. Here's what I have tried: App to users named as users forms.py class SignUpForm(UserCreationForm): first_name =…
Abdul Rehman
  • 5,326
  • 9
  • 77
  • 150
0
votes
1 answer

Django: Attach ICS file with Meeting Response

I am trying to attach ICS files to emails sent via Django that when received includes the option to Accept, Tentative, Decline, Propose New Time in Outlook. meeting-response Currently, I am able to attach the ICS file to the email however it is not…
0
votes
2 answers

Django: How to send RFC 822 compliant email? (users can't reply because of whitespace)

A user has recently notified me that he cannot reply to my email messages because of white space in the address. He also mentioned the raw FROM field not being RFC 822 compliant - I don't know much about it and can't verify. Here's the raw From…
zerohedge
  • 3,185
  • 4
  • 28
  • 63
0
votes
1 answer

Django form not saving or emailing as it should

I've built a simple form that should send an email on form submit, as well as save to a table in the database. I've done this by following different tutorials, as I am still learning Django. At the moment, it should be configured to output the email…
Jake Rankin
  • 714
  • 6
  • 22
0
votes
2 answers

What should I do if Django doesn't send any email when I requested?

I was trying to make the custom password reset view for django.contrib.auth.views.password_reset. I made it by myself (Of course, I see some tutorial articles.) But when I request the password reset form to the development server, It shows like this…
0
votes
1 answer

Django send email from a CBV without having a model

I need to send with Django email when a user completes a contact form. Because the information, from the form is not kept in Django database, I don't have models for it, just get the information and send email. I'm using Class Based Views. I'm…
user3541631
  • 3,686
  • 8
  • 48
  • 115
0
votes
0 answers

Connection timeout while trying to send an email using Django

I am trying to build a module which allows me to send an email to users. However, I am facing an error: TimeoutError at /email [Errno 60] Operation timed out urls.py from django.contrib import admin from django.conf.urls import url from…
0
votes
0 answers

Error : Using django email i am sending an email after sending email got an error ? smtplib.SMTPServerDisconnected:[WinError 10054]

I am beginner and use the django documentation for sending an email. I am facing a problem when submitting the form. I got this error: SMTPServerDisconnected at /buggy_app/booking/ and in my terminal I got: smtplib.SMTPServerDisconnected:…
user9976917
0
votes
2 answers

How to send an email after User post the form?

i am beginner and used steps for sending email from https://docs.djangoproject.com/en/2.0/topics/email/ but i didn't accomplished to send email. i want to send an email automatically using django email after a user submit the form . i am having a…
user9976917
0
votes
1 answer

Django not sending emails to valid address

I need Django to send a confirmation email, but it keeps telling me my email is not a valid address - is there something wrong with my code? Error: SMTPRecipientsRefused at /accounts/signup {'=?utf-8?q?email?=': (553, b'5.1.2 The recipient address…
Davtho1983
  • 3,827
  • 8
  • 54
  • 105