|
You can use the SNDDST command to send file attachments or the QTMMSENDMAIL API to send email attachments from an RPG program. News/400 and Midrange Computing should have some published samples of using these API's. If you want an option that doesn't require the AS/400 SMTP Server, check out our SMTP/400 software available at http://www.rjssoft.com SMTP/400 is command line based and can send email attachments via the AS/400 SMTP Server or any other SMTP Server. AS/400 database files can be attached as CSV attachments. To automate the email process simply embed the SMTPMAIL command in a CL program or add to the AS/400 job scheduler. Please feel free to contact me if you have additional questions. Regards, Richard Schoen RJS Software Systems Inc. Email: richard@rjssoft.com Web Site: http://www.rjssoft.com > > > Steve Martin <smartin@carefreeofcolorado.com> on 18/01/2000 06:44:37 > > Please respond to MIDRANGE-L@midrange.com > > To: MIDRANGE-L@midrange.com > cc: (bcc: James Turnbull/Sydney/KAZ/AU) > Subject: SMTP w/Attachment(s) > > I've just subscribed to this list, and I don't have direct Internet access > from my desktop (in the office)... so I hope I don't duplicate a previous > listing. > > My question is related to FTP or eMail from the AS/400. > > Can I automate an email task (from JOBSCDE or the like) that sends an email > to a client (on Internet email) with an attachment? I have a flat (physical) > file on the AS400 that holds current order information. Once every hour I'd > like to send an email and attach this file - preferably in ASCII format... > > Any suggestions or solutions? > > - Steve > +--- > | 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 > +--- > ______________________________________________________________ Free Internet Access from AltaVista: Get it, share it & win! http://freeaccess.altavista.com/pika/www/initweb.jsp +--- | 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 copyright@midrange.com.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.