|
ESNDMAIL is the sequel facility for sending e-mails from the AS400. It's really useful, enabling e-mails to be sent with Excel attachments from an AS400 etc. This current project simply picks up the spool file produced when an invoice is printed and send it via the esndmail command. I don't think that source would help because the only relevant bit is the ESNDMAIL command to which you pass the various parameters to show which spool file it is. The only parameter that might help is the attachment type but this has to be *spl for a spool file, as opposed to HTML, *XLS etc. I hope I'm making sense to someone! Thanks again, Jenny -----Original Message----- From: Mark A. Manske [mailto:mmanske@minter-weisman.com] Sent: 18 April 2002 15:22 To: midrange-l@midrange.com Subject: RE: Text format using ESNDMAIL I have not heard of esndmail; do you have source to look over? We do similar things here, but the "cheap" freeware way, by doing a cpysplf, off to a folder, and use snddst with the attached text file, been working fine; but it is an "old" and non-fancy way of doing things. We did have some issues with wider reports, but just had to bump up the size of our temp file we did the cpysplf into. I know its not much to go on, but I HTH. Mark. -----Original Message----- From: midrange-l-admin@midrange.com [mailto:midrange-l-admin@midrange.com]On Behalf Of Mauger, Jenny Sent: Thursday, April 18, 2002 8:59 AM To: 'midrange-l@midrange.com' Subject: Text format using ESNDMAIL Dear List, I am a junior programmer developing a utility to e-mail our invoices using esndmail. My main problem is the format that the file attachment takes when the person receives it. The invoices look okay when opened up but seem a lot wider than the normal spool file, with the consequence that when printed the text wraps around and is unreadable. Is there anyway around this apart from re-jigging the printfile to be really narrow? When you do a drag and drop from Ops Navigator to your desk top then print the text file it comes out fine. Is there anyway that the esndmail utility can produce the text file in the same format as this (a way of changing font or other defaults...)? Thanks in advance for any help - it could really speed up such developments in the future! Jenny Mauger Zellweger Analytics UK _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l or email: MIDRANGE-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l. _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l or email: MIDRANGE-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-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.