Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

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.

Don Bakke

SRP Computer Solutions, Inc.


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

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/e7abca9f9ee8174f823efdd332f0dc35.txt
  • Last modified: 2024/12/10 16:16
  • by 127.0.0.1