mail-listener
mail-listener copied to clipboard
Error fetching attachments
I cannot retrive basic attachments from an email. The only ones that can be managed are those who are embeded into the HTML body. All others attachments are not processed because the content-type of those lines from IMAP are declared as plain/text
So next line from mailparser.js will set the flag to false:
textContent = ["text/plain", "text/html"].indexOf(
this._currentNode.meta.contentType || "") >= 0;
...
...
this._currentNode.attachment = false;
I know it's not a bug related directly with your project but it's so generic that i cannot understand that nobody has ever got it