Pdf attachment in the email delivered as a corrupted file