I am getting error while sending the PDF file to outlook via JCL.
Below steps I am doing.
(1) I have INFOPAC report downloaded to PS file of VB 200
(2) Converted VB file to FB 200 file.
(3) Used TXT2PDF routine to generate PDF file. This file is VB4100 by default.
(4) Ran the IEBGENER SMTP JCL to send attachment as PDF.
I am getting the attachment as .pdf in the email but Adobe is unable to open the file.
MAIL FROM: <firstname.lastname@example.org>
RCPT TO: <email@example.com>
SUBJECT: TEST RUN
CONTENT-DISPOSITION: ATTACHMENT; FILENAME="XYZ.PDF"