Skip to content

Conversation

@LienDeboosere
Copy link

add configuration for setting the content transfer encoding of an attachment

e.g:
send-message {:host "mail.isp.net"}
{:from "me@draines.com"
:to "foo@example.com"
:subject "Hi!"
:body [{:type "text/html"
:content "Test!"}
{:type :attachment
:content-type "application/octet-stream"
:content-encoding "base64"
:content (java.io.File. "/tmp/foo.txt")}
{:type :inline
:content (java.io.File. "/tmp/a.pdf")
:content-type "application/pdf"}]})

@alephyud
Copy link

Thank you! Would be great to have an option to set Content-Transfer-Encoding. @drewr Is it possible to incorporate it?

@drewr drewr force-pushed the master branch 4 times, most recently from b199c5a to 382cb0e Compare November 18, 2020 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants