From 2038bb2adbdcf0bfef6b7f0d06225432986fee7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C5=A9=20Th=C3=A0nh=20Trung?= Date: Thu, 17 Oct 2024 00:23:02 -0700 Subject: [PATCH] Update local_settings.py MailGun is deprecated and cannot be installed. Use MIME version instead. I guarantee I have tested it and it works --- sample_files/local_settings.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sample_files/local_settings.py b/sample_files/local_settings.py index 9ff2de3..eb66308 100644 --- a/sample_files/local_settings.py +++ b/sample_files/local_settings.py @@ -91,10 +91,10 @@ #EMAIL_PORT = 587 # To use Mailgun, uncomment this block. -# You will need to run `pip install django-mailgun` to get `MailgunBackend`. -#EMAIL_BACKEND = 'django_mailgun.MailgunBackend' -#MAILGUN_ACCESS_KEY = '' -#MAILGUN_SERVER_NAME = '' +# You will need to run `pip install django-mailgun-mime` to get `MailgunBackend`. +#EMAIL_BACKEND = 'django_mailgun_mime.backends.MailgunMIMEBackend' +#MAILGUN_API_KEY = '' +#MAILGUN_DOMAIN_NAME = '' # You can also use SendGrid, with `pip install sendgrid-django`. #EMAIL_BACKEND = 'sgbackend.SendGridBackend'