Attachments getting messed up?

I had someone email me a pdf document thru yahoo mail. When I replied to it now when I go to look at document i am unable to click it in the email. It's all code now. I think if I go on my computer it will be alright. But I need to use it on my phone and see document. What happened?
Have you got a pdf reader. Go in your sent email and see if it will open there.
I closed out my email and went back later and it was ok. But last check of it, it is showing up weird.

Original thread: https://forums.imore.com/threads/attachments-getting-messed-up.350637/