Yahoo Mail sends emails up to 25 MB in total size. This size limit applies to both the message and its attachments, so if an attachment is exactly 25 MB, then it will not go through since the text and other data in the message adds a small amount of data