unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Igor Sosa Mayor <joseleopoldo1792@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Sending HTML as Attachment in gnus
Date: Sun, 25 May 2014 00:05:54 +0200	[thread overview]
Message-ID: <87k39a7ry5.fsf@gmail.com> (raw)
In-Reply-To: 871tvjj78t.fsf@quasar.esben-stien.name

Esben Stien <b0ef@esben-stien.name> writes:

> I'm trying to attach an html file in a mail in gnus, but whenever I try
> to do it, gnus inserts it inline and not as an attachment.
>
> Any pointers as to how I can do that?

I'm not sure, but I think you should have a look at 

,----[ C-h v mml-content-disposition-alist RET ]
| mml-content-disposition-alist is a variable defined in `mml.el'.
| Its value is ((text
|   (rtf . "attachment")
|   (t . "inline"))
|  (t . "attachment"))
| 
| 
| Documentation:
| Alist of MIME types or regexps matching file names and default dispositions.
| Each element should be one of the following three forms:
| 
|   (REGEXP . DISPOSITION)
|   (SUPERTYPE (SUBTYPE . DISPOSITION) (SUBTYPE . DISPOSITION)...)
|   (TYPE . DISPOSITION)
| 
| Where REGEXP is a string which matches the file name (if any) of an
| attachment, SUPERTYPE, SUBTYPE and TYPE should be symbols which are a
| MIME supertype (e.g., text), a MIME subtype (e.g., plain) and a MIME
| type (e.g., text/plain) respectively, and DISPOSITION should be either
| the string "attachment" or the string "inline".  The value t for
| SUPERTYPE, SUBTYPE or TYPE matches any of those types.  The first
| match found will be used.
`----


-- 
:: Igor Sosa Mayor     :: joseleopoldo1792@gmail.com ::
:: GnuPG: 0x1C1E2890   :: http://www.gnupg.org/      ::
:: jabberid: rogorido  ::                            ::




  reply	other threads:[~2014-05-24 22:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-24 19:40 Sending HTML as Attachment in gnus Esben Stien
2014-05-24 22:05 ` Igor Sosa Mayor [this message]
     [not found] ` <mailman.2036.1400969160.1147.help-gnu-emacs@gnu.org>
2014-05-24 22:29   ` Emanuel Berg
     [not found] <mailman.2024.1400960424.1147.help-gnu-emacs@gnu.org>
2014-05-24 20:34 ` Emanuel Berg

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87k39a7ry5.fsf@gmail.com \
    --to=joseleopoldo1792@gmail.com \
    --cc=help-gnu-emacs@gnu.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 read-only IMAP folder(s) and NNTP newsgroup(s).