This seems to be common practice now and gives mhlist something useful
to display.
Merged from nmh. Thanks to David Levine.
.PP
.nf
Content-Type: text/plain; name="VERSION"; charset="us-ascii"
+Content-Description: VERSION
Content-Disposition: attachment; filename="VERSION"
.fi
.PP
adios(NULL, "unable to access file `%s'", file_name);
}
- fprintf(composition_file, "#%s; name=\"%s\" <>{attachment}",
- content_type,
- (!(cp = strrchr(file_name, '/'))) ? file_name : cp + 1);
+ cp = (!(cp = strrchr(file_name, '/'))) ? file_name : cp + 1;
+ fprintf(composition_file, "#%s; name=\"%s\" <> [%s] {attachment}",
+ content_type, cp, cp);
fprintf(composition_file, " %s\n", file_name);