Function: message-make-html-message-with-image-files
message-make-html-message-with-image-files is an interactive and
byte-compiled function defined in message.el.gz.
Signature
(message-make-html-message-with-image-files FILES)
Documentation
Make a message containing the current dired-marked image files.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/message.el.gz
;;; multipart/related and HTML support.
(defun message-make-html-message-with-image-files (files)
"Make a message containing the current dired-marked image files."
(interactive (list (dired-get-marked-files nil current-prefix-arg))
dired-mode)
(message-mail)
(message-goto-body)
(insert "<#part type=text/html>\n\n")
(dolist (file files)
(insert (format "<img src=%S>\n\n" file)))
(message-toggle-image-thumbnails)
(message-goto-to))