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



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

________________________________

From: java400-l-bounces@xxxxxxxxxxxx on behalf of Hayes, Joe
Sent: Wed 10/26/2005 1:15 PM
To: Java Programming on and around the iSeries / AS400
Subject: RE: Questions on "Calling PC Commands from RPG" article



Dan,
        I would use the AS400 run remote command
(runrmtcmd
http://publib.boulder.ibm.com/iseries/v5r2/ic2924/index.htm?info/cl/runrmtcm
.htm)
) in conjunction with Blat.exe (http://dbk.ch.umist.ac.uk/softw/blat.html
) to send the email.

You can, however, send e-mail from the i5 if that's all you're looking to
do.




-----Original Message-----
From: java400-l-bounces+joe.hayes=fiserv.com@xxxxxxxxxxxx
[mailto:java400-l-bounces+joe.hayes=fiserv.com@xxxxxxxxxxxx] On Behalf Of
Dan
Sent: Wednesday, October 26, 2005 12:43 PM
To: Java Programming on and around the iSeries / AS400
Subject: Re: Questions on "Calling PC Commands from RPG" article

On 10/26/05, Kelly Cookson <KCookson@xxxxxxxxxxxx> wrote:
>
> How you would trigger the Java program to run on the PC is something I'd
> be interested in knowing, too.
>
> What kind of command do you want to execute on the PC? A DOS command? If
> you just want to work with files on the PC, the Java program itself might
be
> able to do what you want.


So as not to repeat a lot that is already covered in the article, I would
refer you to the original article at http://tinyurl.com/dcahd.

The type of commands I am looking to run are not DOS commands but, rather,
anything you might run in the "Run" window (Start menu, Run *or*
<WindowsKey-R>). My intentions are, among other things, to use the mailto:
aaa@xxxxxxx "command". Once I fugure that one out, the rest is candy.

TIA, Dan
--
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.361 / Virus Database: 267.12.5/147 - Release Date: 10/24/2005


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.361 / Virus Database: 267.12.5/147 - Release Date: 10/24/2005

--
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) 
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.