Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

No mails sent with django 1.10.1 #4

@jacopsd

Description

@jacopsd

Filed following issue on the mailjet support channel (see below).

After some back and forth discussions, mailjet support concluded:
"Django is not written by us, and it received an update Sept 9th on their github, at that time it stopped working. This is why you must consult Django's support in order to find out what they changed on their side for it to stop working."

So getting back here: did anyone face the same issue?
Thank you for your help
DJ


I want to send authentication and other mails from a django application using MailJet

SETUP:
OSX 10.11.6
using django 1.10.1, python 2.7.10
On my domain, I have entered SPF & DKIM records. They are confirmed to be OK by MailJet status page.
Package: django-mailjet=0.2.0

PROBLEM:
When I test mailjet using curl from command line, it works fine, but when executing send_mail from python, no mail is sent. Nothing appears in the MailJet stats, but I do get a return value of '1' from the send_mail call:

(venv) Davy@Davys-iMac:~/SWE/gitrepos/django_swingit$ python manage.py shell
Python 2.7.10 (default, Oct 23 2015, 19:19:21)
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)

from django.core.mail import send_mail
ret = send_mail(
... 'My Subject',
... 'Here is my DJTEST message.',
... 'webmaster@mytestsite.be',
... ['check-auth@verifier.port25.com','me@mytestsite.be'],
... fail_silently=False,
... )
print ret
1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions