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



What is the mail server?  If it is the iSeries, all mail received by the
native SMTP server is place in a folder structure that you can read.  It
would be just like reading any stream file on your IFS using RPGLE.  If
it resides on another server such as exchange, you need to write a pop
client to log in to the server and read e-mail.  This is not all that
easy if you have never worked on a POP3 client.

For the iSeries native SMTP server, mail is stored at
/QTCPTMM/MAIL/userid  where userid is the iSeries user id.

Start studying up on mail RFC's to learn about the headers and get to
the guts of the e-mail.


Chris Bipes
Information Services Director
CrossCheck, Inc.

-----Original Message-----
From: midrange-l-bounces+chris.bipes=cross-check.com@xxxxxxxxxxxx
[mailto:midrange-l-bounces+chris.bipes=cross-check.com@xxxxxxxxxxxx] On
Behalf Of Lance Gillespie
Sent: Wednesday, November 16, 2005 3:27 PM
To: midrange-l@xxxxxxxxxxxx
Subject: RE: Program to read e-mail

I am looking at receiving e-mail with a program to process
the data.

I want to update a DB/2 file with the text of the e-mail.

The e-mail body text is in the form  label: value with
labels like date: and time: and id #:

I don't have control over the e-mail so I can't tell them
to send me an XLM or a CVS or anything useful, but if
I could automatically get at the body text of the e-mail
with an rpg program, I would have no problem parsing it.

The problem is, e-mail arrives at iSeries for this user.
How do I strip out the message and send it to my program?


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.