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



If you are going to use email, which isn't what I would call a reliable EDI method, have them send the inventory update in an attached file and then read through that for the particular items that you need to update.  This is just my first thought.  I don't think one would want to parse through the actual email including all of the header information.  Ask him if he has the capability to FTP then you could just have him FTP to your machine and PUT a file in the IFS that contains the inventory updates.
 
But to answer you question in short, yes you can use the read() C API function in an RPG pgm. 
 
Aaron Bartell
-----Original Message-----
From: tomh@simas.com [mailto:tomh@simas.com]
Sent: Tuesday, March 13, 2001 4:13 PM
To: rpg400-l@midrange.com
Subject: RPG CGI


We use our 400 as an SMTP and POP3 server. Can I use APIs to read thru the body of some emails, extracting some information?  We have a customer who'd like to send us inventory updates in an email.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.