Hi,

writing a plugin to investigate zip-file content I see the need 
to get access to attachment data.

The stucture I get from the method argv using the code below
lacks contents using the MIME type "application/octet-stream" - at least.
(If I just change the content-type: header for testing purpose to 
 "text/plain" in the message, I can get the binary stuff)

<noxmltag type="read_this_as_code">
sub zipcontent_is_like {
        my ($self, $permsgstatus, $args, @Args) = @_;

                my $msg = $permsgstatus->get_message();

                for my $i (@{$msg->{body_parts}}) {
                        print Data::Dumper->Dump([ $i ]);
                }

                ...
</noxmltag>

So: what can I do to get access to the binary / base64 attachment content?

TIA, Chris

-- 
Christian Recktenwald
[EMAIL PROTECTED]

Reply via email to