× 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: E-mail attachment
  • From: "Art Tostaine, Jr." <art@xxxxxxxxxxx>
  • Date: Mon, 16 Apr 2001 14:36:38 -0400
  • Importance: Normal

Title: E-mail attachment
We do this.  We use CL to create a database file of the email, then use RPG to create the other file.  Our RPG does not read the IFS directly.
 
In our case, we can see the actual data when viewing the email, and we don't have equal signs.
 
I think the equal signs are because you are emailing as an attachment.  Try configuring your email software to send as inline text.

Art Tostaine, Jr.
CCA, Inc.
Jackson, NJ 08527

-----Original Message-----
From: owner-midrange-l@midrange.com [mailto:owner-midrange-l@midrange.com]On Behalf Of Leland, David
Sent: Monday, April 16, 2001 12:18 PM
To: 'midrange-l@midrange.com'
Subject: E-mail attachment

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


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.