× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: MIDRANGE-L Digest V4 #376
  • From: Jim Langston <jimlangston@xxxxxxxxxxxxxxxx>
  • Date: Mon, 16 Apr 2001 11:10:38 -0700
  • Organization: Pacer International

I promised I wouldn't reply to this list since I'm usually wrong but...

To do it yourself, download the RFC for the MIME format:
http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc2045.html
and the specs in the header field:
http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc2183.html

or, buy a program to do this for you.  I was evaluating a number of
AS/400 e-mail packages, and a few of them would detach attachments into
separate files.  Keyesmail being the one I remember.

If you do decide to write your own MIME detacher, may I request you make
it public domain?  That's the only reason I haven't written my own e-mail
program for the AS/400 yet, the MIME extraction is the biggest part.

Regards,

Jim Langston

Date: Mon, 16 Apr 2001 11:17:34 -0500
From: "Leland, David" <dleland@Harter.com>
Subject: E-mail attachment

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

- ------_=_NextPart_001_01C0C690.BE917D50
Content-Type: text/plain;
        charset="windows-1252"

Does anyone have a routine for retrieving the attachment for an e-mail sent
to the AS/400?  We have setup an e-mail address to receive a CSV file (as an
attachment) to our AS/400 - the e-mail gets recieved into
/qtcptmm/mail/csv_user/.  I'd like a program to be able to read thru the
e-mail (the e-mail is a file and is usually named something like
"JW072019.NOT") and copy the attachment and create an actual IFS file from
it.  When I look at the .NOT file, I can see all the data in there but it
looks like it's formatted a special way because each line only goes to 64
characters and then there is usually an equal sign and then it's wrapped to
the next line.  So, I can't just read it straight in and then write it out.
Also, I haven't figured out how to know where to start and stop reading.

Just wondered if anyone had done anything like this yet?

Thanks,
Dave
+---
| 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 thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.