Instantiate Email Client with Information (OpenInsight 64-bit)
At 01 JUL 2023 06:21:52PM Greg Helland wrote:
RTI_EMAIL_CLIENT sends a fully prepared email just fine. Customer wants to have ability to edit the email at will before sending it. Maybe I am missing something on RTI_EMAIL_CLIENT.
Basically, I am trying to bring up the default desktop email client filled with the following information at a minimum:
To:
Subject:
Body:
Attachment:
If I use the following code in OI10.2 it will instantiate the default desktop email client with the TO: field filled.
url="mailto:ghelland@bleupelikan.com" params=' ':\00\ workingfile=url:\00\ workingdir=drive():\00\ startup_mode=1 call ShellExecute(0, "Open":\00\, workingfile, params, workingdir, startup_mode)However, can't seem to figure out how to fill in Subject and Body at the very least. Can anyone point me in the right direction please?, Or, if you have a code snippet that works that would also be appreciated.
Thanks,
Greg Helland
BleuPelikan, Inc.
At 02 JUL 2023 08:14PM Donald Bakke wrote:
RTI_EMAIL_CLIENT sends a fully prepared email just fine. Customer wants to have ability to edit the email at will before sending it. Maybe I am missing something on RTI_EMAIL_CLIENT.
Basically, I am trying to bring up the default desktop email client filled with the following information at a minimum:
To:
Subject:
Body:
Attachment:
If I use the following code in OI10.2 it will instantiate the default desktop email client with the TO: field filled.
url="mailto:ghelland@bleupelikan.com" params=' ':\00\ workingfile=url:\00\ workingdir=drive():\00\ startup_mode=1 call ShellExecute(0, "Open":\00\, workingfile, params, workingdir, startup_mode)However, can't seem to figure out how to fill in Subject and Body at the very least. Can anyone point me in the right direction please?, Or, if you have a code snippet that works that would also be appreciated.
Thanks,
Greg Helland
BleuPelikan, Inc.
I've not tested this, but I think this would work for you.
At 03 JUL 2023 11:42AM Greg Helland wrote:
Thanks Don. I searched for quite a while and never came across this VB info. It worked perfectly. Here is what I used directly from the VB example.
url="mailto:ghelland@bleupelikan.com" url:="?cc=bob@msn.Com" url:="&bcc=cindy@msn.Com" url:="&subject=Hi" url:="&body=Hello there!"Thanks
Greg