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



Setup an email address.  At you required interval, look for files in
/QTCPTMM/MAIL/userid.  They should end with ".NOT".  You can do this
with API's, or CL, or RPG.

You can do a CPYFRMSTMF, or use RPG, to read the files directly.  All
the header information will come in first.  I usually put some code in
to recognize the first vaid line and then start processing from there.


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


-----Original Message-----
From: midrange-l-bounces+artjr=link400.com@xxxxxxxxxxxx
[mailto:midrange-l-bounces+artjr=link400.com@xxxxxxxxxxxx] On Behalf Of
Goodbar, Loyd (ETS - Water Valley)
Sent: Friday, September 26, 2003 10:30 AM
To: 'midrange-l@xxxxxxxxxxxx'
Subject: Have AS/400 act on an email message

How would I get the AS/400 to act on an email message? For example, the
mailman mailing list software lets you put commands in a message body,
and a
program acts on the message when received.

I get an email from our material planners every Friday for the
parameters
for our weekly MRP submission. Now the MRP submission is mostly
automated,
once I have these parameters. What I would like is for the planner to
send
an email to the AS/400, and have a program grab the email body, verify
the
MRP parameters (done), and run the MRP submission program.

I know I must set up POP3 on the 400, but where/how do I hook to run
custom
programs when emails are received? Any pointers to doco welcome.

Thanks,
Loyd

--  
Loyd Goodbar
Programmer/analyst
BorgWarner Incorporated
ETS/Water Valley
662-473-5713
lgoodbar@xxxxxxxxxxxxxx

_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
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.