In a message dated 18/12/00 6:06:07 pm, Sjoerd writes:

>Of course:
>  put "Registration" into mSubject
>  put "[EMAIL PROTECTED]" into mTo
>  put "mailto:" & mTo & "?Subject=" & mSubject & "&Body=" & urlEncode(field
>"Body") into tAdress
>  if platform() is "MacOS" then send tUrl to program "Finder" with
>"GURLGURL"
>  else launch tUrl with (word 1 to -2 of
>queryRegistry("hkey_local_machine\software\classes\mailto\shell\open\command
>\")
>
>Note: Outlook Express (Mac) doesn't take '+'es for spaces, so:
>  replaceText(urlEncode(field "Body"),"+","%20")
>Also, MetaCard does replace a return for "%0D%0A", and Outlook does take
>the
>%0A for a block (
>), so they have to be deleted:
>  replaceText(replaceText(urlEncode(field "Body"),"+","%20"),"%0A","")
>
>Hope this helps,
>Sjoerd

Of course.

Another one for the scrapbook.  Thanks Sjoerd.

Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to