Geary allows sending oversized attachments, then times out
Bug Summary
When sending a file with attachment of over 25MB through Gmail (which is the limit), the email is scheduled for delivery then cannot be sent due to a network timeout. The Gmail web client uploads the attachments to Google Drive then sends the link instead. Geary should not allow users to click Send when oversized attachments are attached.
Your installation
To obtain installation information, copy it from Geary's Problem Report dialog if shown (or else open the Geary Inspector by typing Shift + Alt + I) by selecting System, and clicking the Copy button, then pasting here.
- Geary version: 43.0
- Installation method: Flathub
- Desktop environment: Gnome
- Operating system and version: Fedora Silverblue 38
- Email provider: Gmail
Steps to reproduce
- Compose a new mail
- Attach files of more than 25MB
- Click Send
What happened?
Allow attachments of over 25MB to be sent, which always fails.
What did you expect to happen?
Do not allow the email to be sent when the attachment exceeds the size limit.
Relevant logs and/or screenshots
To obtain log information, save it from Geary's Problem Report dialog if shown (or else open the Geary Inspector by typing Shift + Alt + I), by clicking the Save As button and attaching the resulting file to this issue.
If the bug is a crash, please obtain a stack trace and attach it to this issue so it can be debugged by following the instructions on this page: https://wiki.gnome.org/Apps/Geary/ReportingABug#Stack_Trace