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



On 10/27/05, NGay@xxxxxxxxxxxxx <NGay@xxxxxxxxxxxxx> wrote:
>
> We're straying away from iSeries here so leave it at that, but certainly
> I've found out some useful info I didn't know before.


Well, this *is* the Java400-list, and I'm sending commands from an RPG
program to a Java app, so...

Anyway, as I mentioned last night, I found the registry entries that direct
mailto: to run C:\PROGRA~1\MICROS~2\Office10\OUTLOOK.EXE -c IPM.Note /m %1.
I followed up on this a bit, found out that "-c IPM.Note" opens up the
window to create an email message, and /m is the switch to pass the email
name. Through testing, I found that if I did something like:
C:\PROGRA~1\MICROS~2\Office10\OUTLOOK.EXE -c IPM.Note /m dan@xxxxxxxx
&Subject=TestSubject&Body=TestBody
... this worked!

Unfortunately, embedded blanks are another obstacle. Using cmd.exe, I am
able to substitute %20 for blanks, but not through the rt.exec I guess. I
will take a look at the link that Paul provided later; gotta put this on the
back burner for now.

Also, more mystery: cmd.exe requires the carat in front of the &Subject and
&Body, but the java won't take (and doesn't need) that to run.

- Dan

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.