It seems, this problem is nothing do with Windows 8 operating system.
Which web browser you are using ? (try to use yahoo mail some other web browser)
What is your pdf file size ? (I think yahoo mail may have max size(10MB) limitation for attachments)
Going forward do not post unrelated issues in this forum.