[EMAIL PROTECTED] wrote/ schreef:
> I am currently in a 'digest fest', catching up on weeks of backlog. This
> caught my I and I wondered if the 'Test' in '&Body=Test' can be the contents
> of a variable or field?
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
> Thanks,
>
> David Glasgow
>
> PS I don't know whether it was reading hundreds of postings in one sitting,
> but I felt that the list was even more fired up and active than usual.
> Imagination?
Don't think so...
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.