being replied\-to, and then outputs each line of the body prefaced with
the \*(lq>\*(rq character.
.PP
-To use the MIME rules for encapsulation, specify the
+To MIME-attach the original message, specify the
.B \-mime
switch.
-This directs
-.B repl
-to add an attachment header field, for which
-.B send
-will care.
+Note: This decision is now unrelated to the \-format and \-filter options.
+It's meaning changed in the transition from nmh to mmh.
+Now it is possible to have the original message quoted in the body
+.B and
+attached as MIME part.
+However, using the \-mime switch is discouraged.
+It may get removed in the future.
.PP
If the
.B \-annotate
adios(NULL, "missing argument to %s",
argp[-2]);
filter = getcpy(etcpath(cp));
- mime = 0;
continue;
case FORMSW:
if (!(form = *argp++) || *form == '-')
case FRMTSW:
filter = getcpy(etcpath(mhlreply));
- mime = 0;
continue;
case NFRMTSW:
filter = NULL;
case MIMESW:
mime++;
- filter = NULL;
continue;
case NMIMESW:
mime = 0;
adios(drft, "error writing");
fclose(out);
- /* if we want mime, then add an attachment header */
- if (!filter && mime && mp) {
+ if (mime && mp) {
+ /* add an attachment header */
char buffer[BUFSIZ];
snprintf(buffer, sizeof buffer, "+%s %s",