> message: import-email stdin: copy system/ports/input
>
> and I get:
>
> ** Script Error: import-email expected data argument of
> ** type: string. Where: message: import-email stdin
>
> So I did:
>
> stdin: copy system/ports/input
>
> print type? stdin
>
> And it's a block... How did this work for you?
Sure enough.. you wind up with a block of lines from stdin.
try:
message: copy ""
stdin: copy system/ports/input
foreach line stdin [append message append line newline]
message: import-email message