×
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.
Can you be a little more specific on how to do this?
"Aaron Bartell" <aaronbartell@xxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
09/11/2008 06:17 AM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
To
"RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
cc
Subject
Re: Need Help with Email from RPG
Now my next challenge is to iterate through a file of e-mail addresses
and
dynamically populate the to field. Can you help with this?
You bet. Just iterate over the RPGMail_addAddress() API with a DO loop.
setll key file;
reade key file;
dow not %eof(file);
RPGMail_addAddress(email: 'TO': DB2EMLADR: DB2CUSTNAM);
enddo;
HTH,
Aaron Bartell
http://mowyourlawn.com
On Wed, Sep 10, 2008 at 1:27 PM, <steve.dyke@xxxxxxxxxxxxxxxx> wrote:
I am sorta new at all this. However, I did consider the fact that I was
not specifiying the error. Trouble was all I knew was I had a 15 page
spool file, which part would I send.
Anyway I figured out I was not in the correct library for the compile.
After I fixed that it compiled okay. I sent my first email.
Now my next challenge is to iterate through a file of e-mail addresses
and
dynamically populate the to field. Can you help with this?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.