The point that a file.size <= 25 * 1024 * 1024 check is wrong twice, once because the limit often applies to the encoded message and once because MB and MiB differ, is worth a bookmark on its own. Measuring real messages with the Python email package instead of trusting the 4/3 × 78/76 formula alone makes the 36.8% figure much more convincing. The split into a 25 MB club and a 20 MB club is a simple rule to plan target sizes around.
StackShortlist
Proof Over Promises.
The point that a file.size <= 25 * 1024 * 1024 check is wrong twice, once because the limit often applies to the encoded message and once because MB and MiB differ, is worth a bookmark on its own. Measuring real messages with the Python email package instead of trusting the 4/3 × 78/76 formula alone makes the 36.8% figure much more convincing. The split into a 25 MB club and a 20 MB club is a simple rule to plan target sizes around.