thunderbird-android icon indicating copy to clipboard operation
thunderbird-android copied to clipboard

forward as attachment is broken (.eml)

Open Djfe opened this issue 1 year ago • 5 comments

Checklist

  • [X] I have used the search function to see if someone else has already submitted the same bug report.
  • [X] I will describe the problem with as much detail as possible.

App version

6.802

Where did you get the app from?

Google Play

Android version

14

Device model

Pixel 7 Pro

Steps to reproduce

  1. Go to inbox
  2. Open a mail
  3. Select 3-dot menu
  4. Select Forward as attachment
  5. Send mail to someone

Expected behavior

Mail gets forwarded as an attached .eml file

Actual behavior

the .eml file is empty. in the "sent" folder it has content while it's empty for the receiver.

This was only tested within the K9 mail client. (Sender and receiver) I tested multiple mail accounts

This is reproducible and I have tested different mails

Logs

No response

Djfe avatar Apr 27 '24 13:04 Djfe

Have you checked if the .eml file is actually empty? It shows as "0 B" in K-9 Mail, but otherwise should contain all data.

cketti avatar May 21 '24 14:05 cketti

Have you checked if the .eml file is actually empty? It shows as "0 B" in K-9 Mail, but otherwise should contain all data.

Hello. I've checked it. The file is not really empty. When we open it, it shows the content and it's not empty. However, the email display screen only shows the size as 0. While it's not really zero, it does contain content. Now, considering this, I think we should fix the issue of the size being shown as zero. Am I right? Do you have any thoughts on this?

mhf1998 avatar Jul 08 '24 08:07 mhf1998

ups, I checked and then forgot to answer. I wanted to check and compare/hash the files on desktop first. I will do that now.

Djfe avatar Jul 08 '24 14:07 Djfe

Have you checked if the .eml file is actually empty? It shows as "0 B" in K-9 Mail, but otherwise should contain all data.

Hello. I've checked it. The file is not really empty. When we open it, it shows the content and it's not empty. However, the email display screen only shows the size as 0. While it's not really zero, it does contain content. Now, considering this, I think we should fix the issue of the size being shown as zero. Am I right? Do you have any thoughts on this?

I debugged. Actually, on the receiving side of the email, the field size(attachment.size) of the .eml attachments is zero!! Do you have an idea to fix this problem? that we can find and display the real size of those attachments? @cketti

mhf1998 avatar Jul 10 '24 09:07 mhf1998

Have you checked if the .eml file is actually empty? It shows as "0 B" in K-9 Mail, but otherwise should contain all data.

Hello. I've checked it. The file is not really empty. When we open it, it shows the content and it's not empty. However, the email display screen only shows the size as 0. While it's not really zero, it does contain content. Now, considering this, I think we should fix the issue of the size being shown as zero. Am I right? Do you have any thoughts on this?

I continued debugging and examined the code in more detail. I realized that even on the sender's side, if the database is cleared once after sending the message and we try to reopen that message, it also shows a size of zero (on the sender's side)!!

mhf1998 avatar Jul 17 '24 12:07 mhf1998

Confirmed. Ditched Thunderbird because of this one because it hasn't been fixed for over almost a year now and I can't use a mail client negleting such basic features for business purposes.

jzielke84 avatar Feb 15 '25 11:02 jzielke84