Gnus development mailing list
 help / color / mirror / Atom feed
From: dsg@mitre.org (David S. Goldberg)
Subject: Re: Fwd: E-mail attachments and local names
Date: 27 Jul 1999 10:48:14 -0400	[thread overview]
Message-ID: <m1bwvvmtahd.fsf@blackbird.mitre.org> (raw)
In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "27 Jul 1999 14:29:20 +0200"

>>>>> Kai Großjohann writes:

> In addition to the filename parameter there is a name (or was it
> file?) parameter in the MML stuff.  Filename gives the name of the
> local file, and I guess Gnus just uses it for the file name in the
> message if nothing else is specified.

I thought that too.  Then I tried it :-) Unfortunately, the name tag
gets copied to the Content-Type part rather than Content-Disposition,
where the filename tag goes.  The latter gets preference for the
suggested filename when saving.  The former just shows up as a label
in the button.  What's needed is either an option that says if both
name and filename are specified in MML, then after using filename to
load the content, the filename tag in the Content-Disposition header
gets the value of the name tag; or, invent a new tag if overloading
name is a bad idea.  I started to make a pass at doing just that
(called `filesuggestion' for lack of a better idea) yesterday.  I'll
post a patch once its ready and I've had a chance to try it out.
-- 
Dave Goldberg
Post: The Mitre Corporation\MS B325\202 Burlington Rd.\Bedford, MA 01730
Phone: 781-271-3887
Email: dsg@mitre.org


  reply	other threads:[~1999-07-27 14:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-24 14:22 Robert Bihlmeyer
1999-07-26 16:58 ` Hrvoje Niksic
1999-07-27 12:29   ` Kai Großjohann
1999-07-27 14:48     ` David S. Goldberg [this message]
1999-08-27 21:57       ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1bwvvmtahd.fsf@blackbird.mitre.org \
    --to=dsg@mitre.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).