-
-
Notifications
You must be signed in to change notification settings - Fork 199
Error when parsing "CC" from "message-headers" with Mailgun adapter #122
Comments
I fix the the issue by adding extra checking:
I don't know whether it is an acceptable fix. If it is ok, I can make a pull request from my fork. |
I saw a warning in the log, it may be the cause: not translating string to Json. There are some unicodes chars(UTF-8, Chinese) in those fields.
|
I can also replicate this issue via https://mailgun.com/cp/routes using the "Send A Sample POST" test function. I have installed tested your changes and they has resolved the problem for me - so thanks very much!!! I say you should make a pull request. |
Moved to wingrunr21/griddler-mandrill#1 |
@calebthompson my adapter is mandrill not mailgun |
Whoops! |
mailgun sends the headers as JSON and this is fixed in the extracted version. |
Great, so should this be closed as fixed for 1.0 and on master? |
Or, I guess along with the apart to remove the adapter from Griddler. |
Sorry I didn't get back about this sooner. I'd also like to fix this in the non-extracted version if that would be helpful. Is the best way to do that to check out the version tagged 0.6.4 and make a branch to fix in from there? |
Yeah, and we could cut 0.6.5 for that, but I'd intended to EOL 0.6.* as soon as 1.0.0 came out, which should be in the next couple of days. If you feel strongly, we can do it and cut a release. Up to you @bradpauly |
Hmm, it's in a branch but I don't want to create extra work if it isn't needed. @ryanharnwell @wingice do you plan to move to 1.0? Or are there any reasons you don't want to upgrade? |
I'd be happy to upgrade to 1.0 when released. |
This should be good in the released version. |
Mailgun adapter: receiving mail without CC field:
It seems params["message-headers"] is a string , not an array.
The text was updated successfully, but these errors were encountered: