branch: elpa/org-mime
commit 8067e76eb1fb6a9c15229cc93015aba923120a19
Author: Chen Bin <[email protected]>
Commit: Chen Bin <[email protected]>
add documentation on embedded image
---
README.org | 5 +++++
org-mime.el | 3 +++
2 files changed, 8 insertions(+)
diff --git a/README.org b/README.org
index eb4f458c00..e6bf628694 100644
--- a/README.org
+++ b/README.org
@@ -51,6 +51,11 @@ MAIL_TO, MAIL_CC, and MAIL_BCC. Here is the sample of
subtree:
:END:
content ...
#+end_example
+** embed image into mail body
+Use below syntax,
+#+begin_example
+[[/full/path/to/your.jpg]]
+#+end_example
** CSS style customization
Email clients will often strip all global CSS from email messages. In the case
of web-based email readers this is essential in order to protect the CSS of the
containing web site. To ensure that your CSS styles are rendered correctly they
must be included in the actual body of the elements to which they apply.
diff --git a/org-mime.el b/org-mime.el
index 3beeba580d..93bada66f6 100644
--- a/org-mime.el
+++ b/org-mime.el
@@ -80,6 +80,9 @@
;; (add-hook 'org-mode-hook
;; (lambda ()
;; (local-set-key (kbd "C-c M-o") 'org-mime-org-buffer-htmlize)))
+;;
+;; In order to embed image into your mail, use below org syntax,
+;; [[/full/path/to/your.jpg]]
;;; Code:
(require 'cl-lib)