summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2017-04-13 08:17:52 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2017-04-13 08:17:52 +0300
commit5a4ca2135f5a57d2a7ab18bf7d4881b4caefec35 (patch)
tree9bb95f91624ac0e3d1d1f5d0bc7188a770bd9b03 /NEWS
parent444d20f3c7151c1d30fa6567cce35868c7ec38f3 (diff)
downloadmailutils-5a4ca2135f5a57d2a7ab18bf7d4881b4caefec35.tar.gz
mailutils-5a4ca2135f5a57d2a7ab18bf7d4881b4caefec35.tar.bz2
Send multipart/alternative messages using mail.
The new option --alternative is provided to change the content type of the composed message to multipart/alternative. The ~/ escape toggles the type between multipart/mixed and multipart/alternative. In messages of multipart/alternative type, the Content-Disposition header of all attachments is reset to "inline". * libmailutils/mime/mime.c (mu_mime_create): Bugfix: honour the MU_MIME_MULTIPART_ALT flag. * mail/mail.c: New option --alternative. * mail/mail.h (compose_env) <attlist,mime>: New members. (multipart_alternative): New global. (send_attach_file): Change return value. (escape_toggle_multipart_type): New proto. * mail/send.c (multipart_alternative): New global. Keep the list of attachments in compose_env_t. Make sure it is freed when no longer used. Implement the ~/ escape. * mail/table.c: New escape ~/ * mail/util.c: Use mu_strerror instead of strerror. * NEWS: Document changes to the mail utility * doc/texinfo/programs.texi: Likewise.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS17
1 files changed, 16 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index aed4476b3..f6fef0c7e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-GNU mailutils NEWS -- history of user-visible changes. 2017-04-09
+GNU mailutils NEWS -- history of user-visible changes. 2017-04-13
Copyright (C) 2002-2017 Free Software Foundation, Inc.
See the end of file for copying conditions.
@@ -88,6 +88,21 @@ defined. Instead, the following constants are defined in config.h:
* movemail: new option --progress-meter
+* mail: sending multipart messages
+
+** New option --alternative
+
+When used with --attach or --attach-fd options, this option sets the
+Content-Type of the constructed message to "multipart/alternative".
+In the absense of this option, the type is "multipart/mixed".
+
+** New escape ~/
+
+New escape ~/ toggles the Content-Type of the message being composed
+between "multipart/mixed" and "multipart/alternative".
+
+The actual Content-Type is displayed by the ~l (list attachments) escape.
+
* scheme implementation of the Sieve language discontinued
There's no reason to keep two different implementations of the Sieve

Return to:

Send suggestions and report system problems to the System administrator.