mailTo problems

Hugh Senior H at flexibleLearning.com
Fri Dec 14 13:03:01 EST 2001


Hi Ray... Same problem (Win2000)... process is open but email prog not 
displayed.... just hangs. Then OS msg "Which program do you want to use to 
open the document <email address>?" is displayed!

Dunno... Is launch broke?


>I don't know if this works on XP, but here's my handler... perhaps you could
>try it and see if it worked?
>
>on GoMail tMailTo
>   switch (the platform)
>   case "MacOS"
>     send "mailto:"&tMailTo to program "Finder" with "GURLGURL"
>     break
>   case "Win32"
>     -- First, read the WIndows registry to get the default calling command
>for HTML files
>     put queryRegistry("HKEY_CLASSES_ROOT\mailto\shell\open\command\") into
>tMailApp
>     if tMailApp = "" then exit STS_GoMail
>     if (quote & "%1" & quote) is in tMailApp then replace quote & "%1" &
>quote with tMailTo in tMailApp
>     if "%1" is in tMailApp then replace "%1" with tMailTo in tMailApp
>     set cursor to watch
>     open process tMailApp for neither
>     break
>   end switch
>end GoMail
>
>Let us know how it went...


/H
-------------- next part --------------

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.306 / Virus Database: 166 - Release Date: 04/12/2001


More information about the metacard mailing list