Permalink
Browse files

Document Colin's attachment file name addition.

  • Loading branch information...
1 parent 61a1b3a commit a7b59773928dac94011159fa662a20ec60f3b9b1 @drewr committed Apr 4, 2013
Showing with 4 additions and 2 deletions.
  1. +4 −2 README.md
View
@@ -131,8 +131,10 @@ Attachments and multipart messages can be added as sequences of maps:
{:code 0, :error :SUCCESS, :message "message sent"}
postal.core>
-If your attachment has a content-type that is not recognized by JavaMail, e.g.,
-`.pdf` or `.doc`, you can set `:content-type`.
+If your attachment has a content-type that is not recognized by
+JavaMail, e.g., `.pdf` or `.doc`, you can set `:content-type`. You
+can also set `:file-name` and `:description` if you don't like the
+filename that `:content` uses.
If you want another multipart type than "mixed", you can specify it as a keyword
as the first value in the map sequence. That way you can for example create an

0 comments on commit a7b5977

Please sign in to comment.