Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

forward as attachment is broken (.eml) #7797

Open
2 tasks done
Djfe opened this issue Apr 27, 2024 · 5 comments
Open
2 tasks done

forward as attachment is broken (.eml) #7797

Djfe opened this issue Apr 27, 2024 · 5 comments
Labels
type: bug Something is causing incorrect behavior or errors unconfirmed Newly reported issues awaiting triage or confirmation

Comments

@Djfe
Copy link
Contributor

Djfe commented Apr 27, 2024

Checklist

  • I have used the search function to see if someone else has already submitted the same bug report.
  • 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 Djfe added type: bug Something is causing incorrect behavior or errors unconfirmed Newly reported issues awaiting triage or confirmation labels Apr 27, 2024
@cketti
Copy link
Member

cketti commented May 21, 2024

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.

@mhf1998
Copy link
Contributor

mhf1998 commented Jul 8, 2024

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?

@Djfe
Copy link
Contributor Author

Djfe commented Jul 8, 2024

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.

@mhf1998
Copy link
Contributor

mhf1998 commented Jul 10, 2024

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
Copy link
Contributor

mhf1998 commented Jul 17, 2024

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)!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something is causing incorrect behavior or errors unconfirmed Newly reported issues awaiting triage or confirmation
Projects
None yet
Development

No branches or pull requests

3 participants