• Subject: RE: Receiving SMTP mail using CL/RPG
  • From: "Art Tostaine, Jr." <art@xxxxxxxxxxx>
  • Date: Wed, 10 Jan 2001 09:28:26 -0500
  • Importance: Normal

www.ignite400.org uses Stalker Communigate Pro.  They love it and it is very
reasonably priced.  Check out www.stalker.com

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 Wilton Rooks
Sent: Tuesday, January 09, 2001 10:26 PM
To: MIDRANGE-L@midrange.com
Subject: RE: Receiving SMTP mail using CL/RPG


Mike,
we have a product that will do this. Contact me at 888 532 8400 or
wrooks@net400.com if you are interested.

Wilton Rooks
Net400, Inc.

-----Original Message-----
From: owner-midrange-l@midrange.com
[mailto:owner-midrange-l@midrange.com]On Behalf Of Mike Cunningham
Sent: Tuesday, January 09, 2001 4:54 PM
To: MIDRANGE-L@midrange.com
Subject: Receiving SMTP mail using CL/RPG


I would like to develop an application that would would a little like a
listserv server and allow users to send a message to a group by using
the AS/400.  Example: The AS/400 has all the information about which
students are taking a class and what their email address is.  I would
like to be able to send a message to the AS/400 with a special keyword
in the body of the message (like FORWARD TO CLASS CSC110 01) and the
AS/400 would receive that message, lookup all the students in CSC110 01
and resend the message to those students.  I would do the same for
groups of employees that are already defined in my HR database.

I have the basics setup.  A special AS/400 user to send the mail to. A
CL program that does a QRYDST to an output file, then does a RCVDST from
the items in the QRYDST output file to another output file and then an
RPG to read that file, break up the received message into it's parts,
scan the body for the keywords and use SNDDST (I going to convert this
to the EMail API) to resend the message.  All this is done and working
as long as it is just plain text.

Where this all stops working is if the incoming email has an attachment
(i.e. a word document) that someone wants to send to the group.  Does
anyone have any idea how I might be able to get by this roadblock ?
RCVDST does not appear to like attachments.  Is there a receive email
API like the send email API ?  I have not been able to find it if there
is

Thanks for any help

Mike Cunningham
Director of Computer Services
PA College of Technology
mcunning@pct.edu

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].