GMail attachment issue
When sending a piped file, Gmail closes the pipe and sends a corrupted file instead.
Google issue tracker
https://issuetracker.google.com/issues/235374656 – closed as advice was it was the wrong place for this issue
https://issuetracker.google.com/issues/235489985
Example built APK
Steps to reproduce
- Install this app.
- Install and setup GMail with an email account.
- Open this app and tap “Send File” button.
- Chose to use GMail to send the file if multiple apps available.
- Send the email containing the file.
Expected results
The email is send containing the image of the android robot
Actual results
Using com.google.android.gm_2022.04.03.445234996.Release-63212521.apk or earlier version
The email successfully contains the image correctly.
Example
EML file
APK file
This APK should not be trusted, they are taken from 3rd party source so should not be used with secure Google accounts. com.google.android.gm_2022.04.03.445234996.Release-63212521.apk
Using com.google.android.gm_2022.04.17.446880209.Release-63240686.apk or later version
The email contains a corrupted file in place of the image.
Example
EML file
APK file
This APK should not be trusted, they are taken from 3rd party source so should not be used with secure Google accounts. com.google.android.gm_2022.04.17.446880209.Release-63240686.apk