Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Emailing PDF files with SNDDST

453 views
Skip to first unread message

Shannan Fairfield

unread,
Dec 13, 2002, 2:28:39 PM12/13/02
to
I'm trying to send an email from the AS/400
with SNDDST command and I want to attach a PDF file
that is stored in a folder on the AS/400.

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

Richard Schoen

unread,
Dec 13, 2002, 10:35:09 PM12/13/02
to
Hello Shannan,

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...

Phil

unread,
Dec 14, 2002, 8:41:23 AM12/14/02
to
Hello,

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...

Ivan Hafstrom

unread,
Dec 14, 2002, 4:01:42 PM12/14/02
to
SNDEML would do the job inexpensively:
http://www.min.net/~idh/sndeml/
-Ivan

In article <8ac47d9e.0212...@posting.google.com>,

Ian

unread,
Dec 15, 2002, 3:54:50 PM12/15/02
to
Had same problem. It appeared the email was being split when sent even
though the system said *NOMAX for size.

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...

0 new messages