Merge pull request #286 from jbq/bugfix
authorMartin Trigaux <mart-e@users.noreply.github.com>
Mon, 2 Jun 2014 16:10:36 +0000 (18:10 +0200)
committerMartin Trigaux <mart-e@users.noreply.github.com>
Mon, 2 Jun 2014 16:10:36 +0000 (18:10 +0200)
commit530d8bf3ceb2ca43beb3d320de501908c6d14dc5
treead410b7bd1cd02842649902e5907baf469255bef
parente61fb4d80afb7b5cdf1db99a51129693c450f49b
parent310ecb0d60123094bdc1da6d7915e71749a1e480
Merge pull request #286 from jbq/bugfix

[FIX] mail: detection of MIME type

When parsing the mail headers, the content-type may has a 'type' attribute for Multipart/Related  objects (rfc2387).
Previous check would match on attached files of type text instead of real `content-type: text/`.