[ic] (no subject)

Kevin Walsh interchange-users@interchange.redhat.com
Tue Aug 14 16:11:01 2001


> Hi list, I use MV Version 3.14-5 and could not find the right email address
for
> my question.
> I've
>
> [tag mime header application/x-unknown-content-type-Excel.CSV;
> name="[scratch bestellnummer]" interpolate=1][/tag]
> [tag op=mime type="[scratch bestellnummer].cvs"]1;[value mv_username]
> ...
>
> [tag op=mime type="[scratch bestellnummer].cvs"]1;[value mv_username]
> works fine and I get "description:000079.cvs" in my email.
> But
>
> [tag mime header application/x-unknown-content-type-Excel.CSV;
> name="[scratch bestellnummer]" interpolate=1][/tag]
>
> is not working.  I get "Name: [scratch bestellnumme". Looking into
> Interpolate.pm at the section do_tag
>
> <snip>
>
> What can I do to set the name of the attached file with [value
> mv_order_number]?
>
Firstly, I don't think there is a correct mail list for MV3 questions
any more.  I'll hold back the obvious suggestion. :-)

To your question...

The file name doesn't really want to be in the MIME header at all,
so, in MV3, you should probably just use:

    [tag mime header][/tag]

Your filename belongs in the actual attachment header, so:

    [tag mime type application/x-unknown-content-type-Excel.CSV; name="[scratch
bestellnummer].csv"][/tag]
    [tag mime Some description text] your attachment contents here [/tag]

I'm sure somebody will correct me if I'm wrong - I have no way of
checking that against MV3.

btw, I think a better MIME type would be "application/excel",
or "text/comma-separated-values".

--
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin@cursor.uk.com
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/