Getting a No Boundary error on Mandrill-api gem Rails 4.1 with Actionmailer, what content_type to use

+1 vote
asked Mar 16, 2016 by Xab2045If (1,190 points)
Emails without attachment are delivered fine, but when there is attachment I get boundary missing error on mandril:{"code": -98,"name": "ValidationError","message": "Invalid raw_message: Bad.

4 Answers

0 votes
answered Jun 3, 2016 by Nf557Sherika (530 points)
Best answer
I have recently been wrestling with this
+2 votes
answered Apr 10, 2016 by Anyone (1,700 points)
There is another way of looking at this issue that you might find interesting
I have achieved good results using this one
commented Apr 11, 2016 by bartz_B (680 points)
Something like this would work
commented Apr 12, 2016 by pizzolato (1,170 points)
I have spent a lot of time to solve this problem and at last I found it there. Used only if you really need to
commented Apr 12, 2016 by Tallari (810 points)
You can also have a look at this related question
0 votes
answered May 24, 2016 by yochem (180 points)
You can check out the results at multipartform-data | Apache Help Blog
commented May 26, 2016 by Ubj_1089_W (140 points)
This version works fairly well. It does not do bounds checking and can overflow your buffer
0 votes
answered Jun 2, 2016 by V_4379 (530 points)
This is a very enlightening article
A robust implementation would probably define these

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!