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 Sendgrid Heroku setup

I use a Django / Sendgrid / Heroku setup which was working well but it stopped with no apparent reason. my django settings: EMAIL_HOST="smtp.sendgrid.net" EMAIL_HOST_PASSWORD="..." EMAIL_HOST_USER="..." EMAIL_PORT=587 EMAIL_USE_TLS=True with this…
Martin Faucheux
  • 884
  • 9
  • 26
0
votes
2 answers

Sending email notification in Django

I'm building a simple blog application. I have my blog up and running on development server. Now I wish to send mail to all the subscribers every time a new blog post is created by me/ admin. I know to use Django's sending_email library but I can't…
black sheep 369
  • 564
  • 8
  • 19
0
votes
3 answers

Why my django code is not sending Email to my newly register user?

I want to verify new user registration by sending confirmation token to email of user. the code is showing no error in console but also not sending the email to user email. i am using django 3.0 and python 3.8. the code is executing this part, when…
0
votes
1 answer

Django Sending Modelform as an email

I created a site where my techs submit their inventory using model forms. Everything is working as intended but I would like to add the function of sending the whole form as an email when they submit their inventory. This would allow for my…
0
votes
2 answers

Django contact form not working. GMAIL not recieving message

I am trying to use a simple contact form using Gmail configuration. When users click sends message button it reloads to should reload to the home page and should send messages to hosted email. I don't get any email with this process. I don't…
0
votes
0 answers

django docs email is not activated after click on email confirmation link in Django mail backend

I created the Django email backend for active the email during the registration. But in my case When I register the account and confirmation email is sent on my email and after click on the confirmation link then it's not activate the user's account…
0
votes
0 answers

Sending email in Django throws Address family not supported by protocol exception

I'm sending emails using Django version 2.2 and have tested it on the local machine and it works. But the same code throws [Errno 97] Address family not supported by protocol exception. I also couldn't find any solution online. I have rechecked my…
Pavan Baddi
  • 479
  • 1
  • 11
  • 22
0
votes
2 answers

Getting stuck with sending password reset email in django

I am trying to add user password reset functionality in my Django app using its core password reset functionality, with the help of a tutorial from Corey MS's youtube channel. I did exactly what he did. I am getting no error, but no emails are being…
0
votes
1 answer

How to improvise receiving django backend emails on the terminal?

I am working on a project that uses Django email backend and I receive an email in the terminal every time an email is sent. Right now, the whole email in the terminal is showing in one line irrespective of where I used different

tags. I want to…

0
votes
1 answer

How to set SMTP settings for each email on the fly?

We can configure SMTP settings globally by defining these variables in the settings.py: EMAIL_HOST = 'SMTP_HOST' EMAIL_PORT = 'SMTP_PORT' EMAIL_HOST_USER = 'SMTP_USER' EMAIL_HOST_PASSWORD = 'SMTP_PASSWORD' I want to set these parameters different…
Umut Çağdaş Coşkun
  • 1,197
  • 2
  • 15
  • 33
0
votes
1 answer

Embed an image in Email content - Django

I am using Django's Email message module to trigger an email with an embedded image. Currently i have that image in my static folder.I tried using the html code directly in python to trigger the email. But the image is not getting embedded in the…
Santhosh
  • 83
  • 1
  • 8
0
votes
2 answers

Django send bulk emails

I am working on a service to send bulk emails in django. I have this method which is working well with celery @shared_task(bind=True) def send_mails(self,saved_id): text = BroadCast.objects.get(id=saved_id) attendees =…
0
votes
1 answer

How to configure Django and G Suite for SMTP

When the user is registering on my website an E-Mail is sent to the user to confirm his/her E-Mail. It works with this settings: EMAIL_USE_TLS = True EMAIL_HOST = 'smtp.gmail.com' EMAIL_HOST_USER = 'myemail@gmail.com' EMAIL_HOST_PASSWORD =…
Tom
  • 1,358
  • 2
  • 14
  • 36
0
votes
0 answers

Inserting a url into a custom Django email template

I'm able to send the email, however, the link does not show up. There is just a blank spot where the link is supposed to be. Do I need to add it to like the username? from django.core.mail import EmailMessage from django.core.mail import…
user10421193
  • 217
  • 2
  • 11
0
votes
1 answer

Trying to get email activation to work, but it fails

Trying to get this tutorial to work in my app: https://medium.com/@frfahim/django-registration-with-confirmation-email-bb5da011e4ef The 'uid' fails whether or not I include the .decode(). message = render_to_string('premium/activation_email.html',…
user10421193
  • 217
  • 2
  • 11