diff --git a/README.adoc b/README.adoc index 154681d..9dc75ac 100644 --- a/README.adoc +++ b/README.adoc @@ -145,7 +145,7 @@ Connection with user authentication:: ;; => {:result :success, :code 250, :message "250 OK\n"} ---- -==== Inline image +==== Inline image (Multipart/related) [source,clojure] ---- @@ -158,6 +158,7 @@ Connection with user authentication:: (tarayo/send! conn {:from "alice@example.com" :to "bob@example.com" :subject "hello" + :multipart "related" :body [{:content (str " world") :content-type "text/html"} ;; containing id will be handled as "inline attachment file" {:content (io/file "test/resources/image.png") :id content-id}]})))