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 27 FEB 2011 12:32:59AM dsig@sigafoos.org wrote:

What i am trying to do is get the email client running on the desk to open for a new email message. This would be what happens if you click on 'DSig (SigSOlutions)'. the browser just 'launches' the MAILTO command which windows know to open a email client.

In the 4.1.1 days (and i think xp) this could be done with the following two lines of code

nbr=dsig@sigafoos.org"

rtn=Utility("RUNWIN","start mailto:" : Nbr : " /m")

This would tell outlook or my client TheBat that a new email should be created and it puts the name in the TO section.

I have tried every iteration of this i could think of. Finally on a hail mary i tried changing the fix Colin had for launching a web page.

He gave me this … put in a file and then use Utility("RUNWIN",Filename) to launch it.

This works great for web pages. so for grins i changed the 'www.revelation.com' and put in 'mailto:dsig@sigafoos.org' and tried it ..

It worked perfectly .. except for launching the browser at the same time

So … there is just something i am missing … mailto: is a windows "launch" command (or was).

There must be some way to mimic the behavior of the browser ..

Ideas .. tia


At 27 FEB 2011 12:53AM dsigafoos wrote:

whew .. that was a fun one. It turns out that shellexecute works with it to open the email client.


At 28 FEB 2011 09:43AM Martin Drenovac wrote:

Right - what exactly are you saying is the code that you wrote to email directly out of OI?

Do you mind to post the actual code..

Cheers


At 28 FEB 2011 05:25PM Bob Carten wrote:

Call shellexecute("0","Open":\00\, "mailto:info@winwinsol.com?subject=test&body=test%20body":\00\,:\00\,:\00\,1) </QUOTE> —- === At 28 FEB 2011 06:18PM Martin Drenovac wrote: === <QUOTE>Cheers Bob. </QUOTE> View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/9a48cf1dcd3f725985257844001e7c7e.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1