|
----- Original Message -----
From: "Ted Barry" <TBARRY@smtpgate.centralsan.dst.ca.us>
Sent: Wednesday, July 19, 2000 2:40 AM
Subject: Re: SMTP Gateway Setup on the 400
> Ok, this works now! SMTP server is slow or whatever. What about
> sending spool files through this? Is there anything additional I need to
> do?
Ted,
News/400 this month published a CVTSPLSTMF (Convert spool to streamfile)
command allowing you to convert a spoolfile to a text-, html- or pdf-file to
QDLS:
CVTSPLSTMF FROMFILE(QSYSPRT)
TOSTMF(QSYSPRT.PDF)
TODIR('/QDLS/CDOC')
TOFMT(*PDF)
CHGDOCD DOC(QSYSPRT.PDF)
FLR(CDOC)
DOCD('PDF document')
- and send it to an email address using the SNDDST command:
SNDDST TYPE(*DOC)
TOINTNET(('flensburg@novasol.dk'))
MSG('Here you go...')
DOC(QSYSPRT.PDF)
FLR(CDOC)
You can download the CVTSPLSTMF command here:
http://www.as400network.com/resources/code/
Best regards,
Carsten Flensburg
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.