Sendmark
Send email by markdown text.
Installation
gem install sendmark
Usage
mail = Sendmark.new(
to: ["[email protected]"],
from: "[email protected]",
subject: "subject",
css: "h1 { color: #000000; }",
markdown: "# H1"
)
mail.delivery_method(:smtp, address: "[email protected]", port: 25)
mail.deliver
License
The gem is available as open source under the terms of the MIT License.