Pdf send functionality