MIDRANGE dot COM Mailing List Archive



Home » JAVA400-L » October 2005

Re: Questions on "Calling PC Commands from RPG" article



fixed

On 10/26/05, Hayes, Joe <joe.hayes@xxxxxxxxxx> wrote:Dan,

> I would use the AS400 run remote command (runrmtcmd) in conjunction with
> Blat.exe to send the email.
>
> You can, however, send e-mail from the i5 if that's all you're looking to
> do.
>

On 10/26/05, Kelly Cookson <KCookson@xxxxxxxxxxxx> wrote:
>
> It's also fairly simple to send email from a Java program using the
> JavaMail package. I believe the Java program could also attach local files
> from the PC if that's a reason why you need to send email from the PC.


Thanks, but...

This is intended to be somewhat a proof-of-concept, a simple way to show
that we can run *any* PC command from action taken inside of an RPG program.
My original intent is to create a new function in an existing Customer
Service app that, when certain conditions occur, the CS reps *always*
Alt-Tab to their email client on the PC (Outlook), paste in the recipient's
email address from a previous "copy" on the AS/400 green-screen, uses
pre-defined keyboard macros to fill in the subject and a ready-to-use
template of the email body. Several pieces of information are copy/pasted
from AS/400 to Outlook. Getting this simple idea to work should provide the
impetus for brainstorming on other things that the CS reps spend a lot of
time with Alt-Tabbing.

- Dan





Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact