Closed Hiieu closed 9 years ago
The "not JSON serializable" error means one of the options you've set on your EmailMessage is an unexpected type, and Djrill doesn't know how to convert it to something Mandrill will understand. So you'll need to convert it to a string yourself, when you set the option.
This commonly occurs with merge variables, but it could be any option you're setting. (We'd need to see the part of your code that's creating and sending the message to say more.)
django.utils.functional.__proxy__
probably means the issue is with an option being set to a lazy string translation (ugettext_lazy). If that's the problem, you can probably fix it by switching to the non-lazy version of ugettext.
Yes that was it, thanks.
What does it mean?