Send invoice by email produces an attachment.bin as attachment


Just upgraded to 21.3.75 desktop edition on Windows 10. When I send an invoice an email with attachment.bin as attachment is produced instead of a properly named pdf invoice.

Possible bug?

Kind regards, Arjen

Not here - Windows 10, Manager Desktop Version 21.3.75

Yes the attachment show properly named within Manager, but not so in the actual email message sent.

Thunderbird will show this to be a PDF document and will preview it. This is due to the content type.

Content-Disposition: attachment; filename=attachment.bin
Content-Transfer-Encoding: base64
Content-Type: application/pdf; name=attachment.bin

However, some other email clients as well as invoice processors and regular users do not know how to handle a file named attachment.bin

Seems like problem with your email service than Manager

What email server are you using?

I am using protonmail via the proton mail bridge.

Verified in another administration using gmail. → No issue
Thunderbird via Proton bridge → no issue.

It is something to look into some more if this is some special interaction between the bridge and manager. I do think that Proton is only looking at the message envelope/headers and not at it’s contents.

In additon, I ran wireshark on the connection to the bridge. The attachment is named correctly.

Content-Type: application/pdf; name="nameofinvoice.pdf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; read-date="Wed, 07 Apr 2021 13:19:47
+0000"; creation-date="Wed, 07 Apr 2021 13:19:47 +0000";
modification-date="Wed, 07 Apr 2021 13:19:47 +0000"

I surmise looking at the protonmail bridge code that they do expect the filename parameter to be present in Content-Disposition. Was this Header field recently added?