× 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.



Booth:

We do this for a customer.  Their customers send a valid PO file to them 
attached to email.

We periodically check for files in their inbox (QTCPTMM/MAIL/Userid/inbox I 
think) and then use CPYFRMSTMF, along with an RPG
program to process them.

We ignore everything in the email until we see the file start.  For each 
customer, the file's 1st four positions are their ID, so,
we look for any record containing "NORD" for instance.

The code is ALL CLP and RPG, no API's, but I'd be happy to post the working 
example if you'd like.

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

> -----Original Message-----
> From: midrange-l-admin@midrange.com
> [mailto:midrange-l-admin@midrange.com]On Behalf Of Booth Martin
> Sent: Saturday, December 08, 2001 1:04 PM
> To: midrange-l@midrange.com
> Subject: Re: Has anyone parsed a received e-mail into a physical file?
>
>
> --
> --
> [ Picked text/plain from multipart/alternative ]
> David, my client has contracted to a web-design firm to prepare and host
> their website.  The website includes a form to be filled out if a person is
> interested.  The web-design firm was supposed to put the data into a file
> and ftp it to us, but so far all that has appeared is lots and lots of
> e-mails (one per inquiry) with the information inside it.  The e-mail is
> machine generated by them, from the forms.
>
> I'm trying to resolve the problem in some other way, as the web-design firm
> seems pretty confused about making a data file and FTPing it.
>
>
>
> ---------------------------------------------------------
> Booth Martin   http://www.MartinVT.com
> Booth@MartinVT.com
> ---------------------------------------------------------
>
> -------Original Message-------
>
> From: midrange-l@midrange.com
> Date: Saturday, December 08, 2001 10:53:18 AM
> To: midrange-l@midrange.com
> Subject: Re: Has anyone parsed a received e-mail into a physical file?
>
> At 04:16 PM 12/7/2001, you wrote:
> >As sometimes happens, I wasn't clear. the e-mails each have 1 inquiry, or 1
> >data record. As these w-mails arrive the data has to be stripped out of the
> >body of the e-mail.
>
> Booth:
>
> Could you post a sample? That would probably aid in generating ideas.
>
> A few quick questions:
> Are these email inquiries human or machine generated?
> If human generated, are they free form or form based?
> If machine generated, are they encoded anyway (html, xml, etc)?
>
> david
>
>
> --
> | Internet: david@midrange.com
> | WWW: http://david.fallingrock.net
> |
> | Justice ... not vengeance
>
> _______________________________________________
> 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.
>
>
> .
> --
> [ Content of type image/gif deleted ]
> --
>
> _______________________________________________
> 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 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.