Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allows to specify a body with custom Content-Type. #109

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

guv
Copy link

@guv guv commented Apr 22, 2020

With Postal 2.0.3 it is not possible to send emails with HTML content instead of plain text.
This adds support for specifying a map as body that contains :content and :type.

For the HTML use case, the body can be specified as:

:body {:type "text/html", :content "<h1>HTML Email</h1>"}

@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.

1 participant