retain disposition=inline change for images in html mail

* contrib/lisp/org-mime.el (org-mime-file): Retain disposition=inline
  change for images in html mail.
This commit is contained in:
Eric Schulte 2012-04-11 09:20:45 -04:00
parent 3f810ad424
commit e307d08382
1 changed files with 6 additions and 6 deletions

View File

@ -132,12 +132,12 @@ exported html."
(defun org-mime-file (ext path id)
"Markup a file for attachment."
(case org-mime-library
('mml (format
"<#part type=\"%s\" filename=\"%s\" id=\"<%s>\">\n<#/part>\n"
('mml (format (concat "<#part type=\"%s\" filename=\"%s\" "
"disposition=inline id=\"<%s>\">\n<#/part>\n")
ext path id))
('semi (concat
(format
"--[[%s\nContent-Disposition: inline;\nContent-ID: <%s>][base64]]\n"
(format (concat "--[[%s\nContent-Disposition: "
"inline;\nContent-ID: <%s>][base64]]\n")
ext id)
(base64-encode-string
(with-temp-buffer