You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Emails sent from gmail with multiple attachments don't get parsed fully, only 1 of the attachments is "parsed"
Steps to reproduce
Send an email with multiple attachments
Parse it on the server
Code used
constenvelope=require("envelope");constfs=require("fs");letparsed=envelope.parse(fs.readFileSync("./raw.txt"));setInterval(()=>{},1e6);if(process.platform==="win32"){letr=require("readline").createInterface({input: process.stdin,output: process.stdout});r.on("line",line=>{if(!line)return;try{letres=eval(line);console.log(res);}catch(ex){console.log(ex);}});}//allows easy inspection of the parsed email by just eval-ing stdin
Output
I can provide the "raw email" file if needed
The text was updated successfully, but these errors were encountered:
Hey, thanks! A test email would be excellent - I currently don't have a whole lot of time on my hands, so having something to reliably reproduce would help a lot.
Emails sent from gmail with multiple attachments don't get parsed fully, only 1 of the attachments is "parsed"
Steps to reproduce
Code used
Output
I can provide the "raw email" file if needed
The text was updated successfully, but these errors were encountered: