Questions tagged [django-anymail]

Questions about using the django-anymail package to send, track or receive email through an email service provider (ESP) from a Django web application .

PyPI

django-anymail is an open-source Python package that integrates several transactional email service providers (ESPs) into the Django web application framework.

Anymail provides Django EmailBackends for sending mail through an ESP, Django webhook views for tracking status of sent messages, and webhooks for receiving inbound mail from the ESP.

Asking questions

The tag is appropriate for questions about using Anymail and integrating one of its supported ESPs with a Django application. For questions about Django's built-in SMTP email, use the tag instead.

When asking a question here:

Resources

22 questions
0
votes
1 answer

Cookiecutter - Django: Anymail[SES] boto3 region error

I am trying to deploy to AWS(EC2) a Cookiecutter Django project. The AWS user with this credentials has ful S3, SES and SNS policies. The EC2 server has also a role with full SES/S3 policies. In production file in envs I have the keys set up like…
0
votes
1 answer

django rest-auth email confirmation with postmark

I've seen a fair bit about how to override the email templates, but they seem to mostly involve creating HTML templates and overriding the file location. I'm using postmark's templating which involves sending a post request with the email variables.…
0
votes
1 answer

Configuring django-celery-email with django-anymail

I am using django-anymail(sendgrid) to send emails in my web app. I would like to let the emails send in asynchronous manner without letting the users wait for some time.So, how can I configure django-celery-email with django-anymail. Now, my email…
Code With Me
  • 301
  • 3
  • 11
0
votes
1 answer

django built-in password_reset change connection from send_email

In my application i'm using the built-in auth views. I'm also using a postmark connection using django-anymail for some user email notifications. Example: email_backend = get_connection('anymail.backends.postmark.EmailBackend') mail =…
alex
  • 2,381
  • 4
  • 23
  • 49
0
votes
1 answer

Django + Anymail + Mailgun - Email HTML renders without button and image

I am having an issue while trying to send an email containing html and an image, through mailgun, using the anymail library. This is my code: url_formulario = CLIENT_URL + str(token.key) email = EmailMultiAlternatives('Confirmación Vacante',…
Guido
  • 81
  • 2
  • 9
0
votes
1 answer

With Django AnyMail with MailGun, does the MAILGUN_SENDER_DOMAIN have to match the domain in the DEFAULT_FROM_EMAIL?

Consider the following settings.py snippet from https://github.com/anymail/django-anymail: INSTALLED_APPS = [ # ... "anymail", # ... ] ANYMAIL = { # (exact settings here depend on your ESP...) "MAILGUN_API_KEY": "
Kurt Peek
  • 52,165
  • 91
  • 301
  • 526
0
votes
0 answers

django-user-accounts and anymail: Invalid email address format

I have set up django-user-accounts. When I try to use the password reset function and type in a valid email address I get the following error: AnymailInvalidAddress at /account/password_reset/ Invalid email address format '': No email found This is…
Wessi
  • 1,702
  • 4
  • 36
  • 69
1
2