thunderbird / import-export-tools-ng

Import Export Tools that supports Thunderbird v68-v128
Other
295 stars 31 forks source link

export emails with attach HTML #389

Open winraf opened 1 year ago

winraf commented 1 year ago

Can't export emails with attachements. Without attach export works fine.

Works with "save as eml" Save as HTML with attach not working.

cleidigh commented 1 year ago

@winraf Can you give some more details. OS, TB and IETNG versions. Also what happened when you did the export? Did you get prompted for an export directory? Any errors in the console? @cleidigh

robsonware commented 1 year ago

Hi. I'm trying to export e-mails with attachments to HTML format but export process stop ..

Console: image

utils.js, line 810:

attachmentsExtendedFilenameFormat = attachmentsExtendedFilenameFormat.replace(mboximportbundle.GetStringFromName("recipientFmtToken"), recName);

image

Hope to help ... In some issues I read about a polish guy with the same error, and the winraf maybe a ghost user and his country is unknowled. In my case, I'm from Brazil ... I don't know, but it's just like the function constructAttachmentsFilename(type, hdr) have throble to work with another languages with graphical accents or something like.

robsonware commented 1 year ago

Sorry!

OS: Windows 11 pro TB: 102.9.1 IETNG: import-export-tools-ng-12.0.3-b7-tb.xpi (https://github.com/thundernest/import-export-tools-ng/blob/v12.0.3/xpi/import-export-tools-ng-12.0.3-b7-tb.xpi)

robsonware commented 1 year ago

@cleidigh done! I've change TB language to English and everything workd great!

cleidigh commented 1 year ago

@robsonware I have to look into this more closely. You are correct that some errors have come up with accents etc. However you should not have to abandon the Portuguese version, so I will figure it out. Tudu bem @cleidigh

cleidigh commented 1 year ago

@robsonware Can you give me the filename format you were using? Also did you change anything when you changed to the en locale? The error is actually something to do with not finding a translation. @cleidigh

robsonware commented 1 year ago

Hi, I am away from PC now… as soon as possible I’ll check this and give you a feedback! ✌🏽Enviado do meu iPhoneEm 29 de mar. de 2023, à(s) 15:23, Christopher Leidigh @.***> escreveu: @robsonware Can you give me the filename format you were using? Also did you change anything when you changed to the en locale? The error is actually something to do with not finding a translation. @cleidigh

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

cleidigh commented 1 year ago

@robsonware No problem and no need, already found it. Somehow the recipient token key was translated when it's supposed to be in English, odd... @cleidigh

robsonware commented 1 year ago

Nice 😀 thks

cleidigh commented 1 year ago

@robsonware See