Why the target is 18 MB when the limit says 25
SMTP was designed to carry text, and a video is not text. Before an attachment leaves your outbox it is re-encoded into base64, which represents every three bytes of the original as four printable characters. That is a fixed four-to-three expansion — about 33 per cent — and MIME headers plus line breaks push the real figure nearer 37 per cent.
Run it backwards and the answer falls out: 25 divided by 1.37 is a shade over 18. A 25 MB attachment limit is an 18 MB limit measured on your own disk. Compress to exactly 25 MB, as most pages on this subject still advise, and your mail client will cheerfully accept the file before the message bounces somewhere downstream — which is the worst way to find out, because the failure can arrive minutes later.