View previous topic :: View next topic
|
Author |
Message |
kris_madras Warnings : 1 New User
Joined: 04 Jul 2005 Posts: 31
|
|
|
|
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.
Code: |
HELO xxxxx
MAIL FROM: <xxxx@abc.com>
RCPT TO: <yyyy@abc.com>
DATA
FROM:xxxx@abc,com
TO: yyyy@abc.com
CC: yyyy@abc.com
SUBJECT: TEST RUN
MIME-VERSION: 1.0
CONTENT-TYPE: MULTIPART/MIXED;
CONTENT-DISPOSITION: ATTACHMENT; FILENAME="XYZ.PDF" |
|
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2454 Location: Hampshire, UK
|
|
|
|
Why no code tags?
If you simply manually ftp the pdf dataset can your pdf reader read it? |
|
Back to top |
|
|
kris_madras Warnings : 1 New User
Joined: 04 Jul 2005 Posts: 31
|
|
|
|
Hi,
Yes. If I do file binary transfer (option 6 in ISPf) and name the file .PDF, it is opening correctly with adobe.
Please suggest me how to use code tags in the xmitip. |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2454 Location: Hampshire, UK
|
|
|
|
I was talking about using code tags in your post - I have added them myself but I will not do it again. |
|
Back to top |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2153 Location: USA
|
|
|
|
kris_madras wrote: |
Hi,
Yes. If I do file binary transfer (option 6 in ISPf) and name the file .PDF, it is opening correctly with adobe.
Please suggest me how to use code tags in the xmitip. |
An old joke:
Water is boiling at 100 degrees Celsius; how come the right angle is only 90 degrees?... |
|
Back to top |
|
|
|