I'm afraid I can't help you with the missong mail code, but I hope i *can*
help you with the parameters.
I always use this code snippet for getting the paramters out of the query
string, or if you want stdin:
set itemdel to "="
put replaceText($QUERY_STRING,"&",return) into tQuery
repeat with i = 1 to the number of lines in tQuery
put urlDecode(item 2 of line i of tQuery) into \
qParameter[item 1 of line i of tQuery]
end repeat
Case: $QUERY_STRING is "login=Sjoerd%20Op%20%27t%20Land&vote=4&age=14
Result:
qParameter["login"] = "Sjoerd Op 't Land"
qParameter["vote"] = "4"
qParameter["age"] = "14"
Hope this helps,
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.