Unable to read e-mail attachments and pdf files