--- parser3/src/www/htdocs/Attic/index.html 2001/04/07 14:23:43 1.120 +++ parser3/src/www/htdocs/Attic/index.html 2001/04/10 07:47:41 1.129 @@ -31,6 +31,41 @@ $n $m ^if(^s.match[$:m;i]){matches}{does not match} $s
@main[] +^mail:send[ + $to[paf@design.ru] + $subject[test] + $body[test] +] +
+ +$e[^file:cgi[env.pl;$t[1]]] +$e.text +
+ +^rem{^mail:send[ + $to[paf@design.ru] + $from[paf@design.ru] + $body[ + $1[ + $content-type[ + $value[text/plain] + $charset[windows-1251] + ] + $body[привет, PAF. + +sincerily yours, +PAF +] + ] + $attach[ + $value[^file:load[test.zip]] + $type[uue] + $file-name[retest.zip] + ] + ] +] +} + ^rem{^mail:send[ $content-type[ $value[text/plain] @@ -196,7 +231,7 @@ $a[vasya,fedya,kolya] ^$request:browser.type=$request:browser.type
^$request:browser.version=$request:browser.version
-$tf[^file:load[test.zip;abc.zip;image/gif]] +$tf[^file:load[test.zip;abc.zip]] #$response:body[$tf] ^$tf.name=$tf.name