Thursday, September 25, 2014

Mandrill API response 500 Failed to send a message

Hello,

I'm using Django 1.7 and Mandrill to send emails and work fine in my project, but i get the next error with django-allauth:

Mandrill API response 500
Failed to send a message to [{'type': 'to', 'email': u'myemail@gmail.com', 'name': ''}], from webmaster@localhost
Request Method: POST
Request URL: http://localhost:8000/accounts/password/reset/
Django Version: 1.7
Exception Type: MandrillAPIError
Exception Value:

Mandrill API response 500
Failed to send a message to [{'type': 'to', 'email': u'myemail@gmail.com', 'name': ''}], from webmaster@localhost
Exception Location: /home/user/.virtualenvs/django/local/lib/python2.7/site-packages/djrill/mail/backends/djrill.py in _send, line 119

Regards,

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/cc8a2ff8-ddc8-4d46-8e64-1bd1db99a1f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

1 comment:

  1. set DEFAULT_FROM_EMAIL = "realemail@domain.com" in your settings file

    ReplyDelete