|
We configured the AS/400's SMTP to route the email for us. We added a few lines in the CL to route the spool file as a text file to the user and it has sufficed for our requirements. CALL PGM(COM101) <------------ this was simply the existing program that created the traditional green-bar report. CRTPF FILE(QTEMP/COM101.TXT) RCDLEN(200) CPYSPLF FILE(CSTRPT) TOFILE(QTEMP/COM101.TXT) SPLNBR(*LAST) CPYTOPCD FROMFILE(QTEMP/COM101.TXT) TOFLR(COM) REPLACE(*YES) MONMSG MSGID(CPF0000) SNDDST TYPE(*DOC) TOINTNET(('dcom101@xxxxxxxxxxxx') + <-------- dcom101 is a Domino email list ('wramos@xxxxxxxxxxxx' *BCC)) + DSTD('COM101 - Backlog by Class (Promise Date)') <-------- subject MSG('COM101 - Backlog by Class (Promise Date) ') <-------- body DOC(COM101.TXT) FLR(COM) <------- attachment MONMSG MSGID(CPF0000) DLTF FILE(QTEMP/COM101.TXT) MONMSG MSGID(CPF0000) It can be set up to route internally, or via the internet. This would also work using a Spool2PDF command as suggested by Albert Codinha. Have fun! "Terry LeBlanc" <TLeBlanc@xxxxxxxxxxx> Sent by: mapics-l-bounces@xxxxxxxxxxxx 06/17/2004 09:14 AM Please respond to MAPICS ERP System Discussion <mapics-l@xxxxxxxxxxxx> To "MAPICS ERP System Discussion" <mapics-l@xxxxxxxxxxxx> cc Subject Sending MAPICS reports via email We generate a collection of MAPICS and Query reports during out month-end reporting process that we need to be able to easily "send" via email. What is the best and/or easiest way to accomplish this? We're running XA 5.5. We're running Exchange 2000. We have a dedicated Internet link. Looking for solutions... Currently we're pulling data into Excel spreadsheets and sending those. We'd like to stop doing that, avoid the extra work, and just send the MAPICS reports and query results. Thanks! Terry J. LeBlanc CPIM, MCSE, CISSP Manager Information Systems Nailite International 1111 NW 165th Street Miami, FL 33169 (786) 284-1953 Direct (305) 620-6200 x239 (954) 401-4820 Cell TLeBlanc@xxxxxxxxxxx (Office) Terry@xxxxxxxxxxxx (Mobile) _______________________________________________ This is the MAPICS ERP System Discussion (MAPICS-L) mailing list To post a message email: MAPICS-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/mapics-l or email: MAPICS-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/mapics-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.