I'm getting the email, but it's a AT*****.TXT
file attachment and it's mostly just guck - though
I do see the email header info in it. The PDF file
itself is indecipherable. When I send just a database
file it works fine... there seems to be something
about the .PDF file.
How can I get the PDF file attachment?
Shannan Fairfield
sfair...@trendent.com
For a FREE option, you can check out the SNDEMAIL utility on the iSeries
Network web site.
If you're open to a commercial alternative, download a copy of our SMTP/400
email API.
You can email any file from the IFS and the AS/400 mail server is not
required since the SMTP/400 API can talk directly to any SMTP server.
For more information or to download the demo version, check out our web site
or contact me directly.
Regards,
Richard Schoen
RJS Software Systems Inc.
"The AS/400 and iSeries Report and Data Delivery Experts"
Email: ric...@rjssoftware.com
Web Site: http://www.rjssoftware.com
"Shannan Fairfield" <sfair...@trendent.com> wrote in message
news:8ac47d9e.0212...@posting.google.com...
You get slimy results likely because the PDF file was stored in a wrong codepage.
Try out this to solve this issue.
If you're on V5R1 or V5R2, copy the PDF file to a folder in the IFS running the CPYTOIMPF command w/ TOCODEPAGE(*PCASCII).
If not, create first an empty member in, say Lib/QTXTSRC, and copy this new file.member to a folder in the IFS w/ the CPYTOIMPF
command.
Next copy the PDF file from your AS/400 folder replacing the newly created IFS file.
Attach the file from this folder and send email.
HTH
Phil
"Shannan Fairfield" <sfair...@trendent.com> a écrit dans le message de news: 8ac47d9e.0212...@posting.google.com...
In article <8ac47d9e.0212...@posting.google.com>,
Creating data area QTMSNOSPLT in QUSRSYS type *CHAR length 1 solved the
problem.
"Shannan Fairfield" <sfair...@trendent.com> wrote in message
news:8ac47d9e.0212...@posting.google.com...