Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When MimeMail is used to parse incoming mail via mimemail_incoming the parser breaks on certain e-mails.
If the e-mail has attachments, the encoded attachment text (/9j/4AAQSkZJ...) is included in the html/plain parts of the resulting array. This seems to happen when the e-mail has multiple boundaries e.g.
Content-Type: multipart/mixed; boundary=FOO
&
Content-Type: multipart/alternative; boundary=BAR
The mime parts should be being parsed on the alternative boundary.
Comments
Comment #1
sgabe CreditAttribution: sgabe commentedChanging status since there is nothing to review. At least we know that somebody is actually using this feature.
Comment #2
Aldus CreditAttribution: Aldus commentedI have the same problem.
Expecially happens when an user replies from Hotmail or Yahoo using an attachment: everything is mixed inside the text.
Any chance to fix the parsing?
Comment #3
TR CreditAttribution: TR commentedIf you're having this problem please post the full text source, including headers, of an incoming email that is parsed incorrectly.
Comment #4
TR CreditAttribution: TR commentedNo information provided about how to reproduce.