Page 1 of 1

Any suggestion to launch email from RPG

Posted: Wed Dec 15, 2010 1:29 pm
by sgonchigar
If I were to execute these pre-conversion, how would I do it post-conversion, RUNRMTCMD?

STRPCO PCTA(*NO)
STRPCCMD PCCMD('rundll32 url,FileProtocolHandler mailto:?subject=Enter the Subject here') PAUSE(*NO)

Thank you.

Re: Any suggestion to launch email from RPG

Posted: Thu Dec 16, 2010 11:50 am
by Alex
The easiest way to accomplish this is to set the "onclick" property on a button or a link within the designer. You can set it to the following:

pui.link("mailto:?subject=Enter the Subject here")