The problem seems to be that the message itself does not end with a CRLF. My guess is that the Yahoo! mail server appended the message just fine in the first session's APPEND command, but the second session failed because their mailbox file did not end with a newline from the previous...
R11ecoaf l1l8 TIftSrrht1adgcPaohoPbBwos1rerRvmareoeem:iysiS0evittottughw0lwhemIhrplcpino)enenFoaelettswefsre.hseimve,orsibgJnenndcelr.wayume(iGrea0naai1ar7aientnwu6le2vdto:tmh0l:t-t:eelFeo00I8ei0adnaaiu0f0rrrs–ngfoskesls.e–ic1dhuamtrs2isth12wnnt0oofriw2:iduoi1eg0dswnle:9w...