tnoda78 / sendmark

Send email by markdown text.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sendmark

Gem Version Build Status Coverage Status

Send email by markdown text.

Installation

gem install sendmark

Usage

mail = Sendmark.new(
  to: ["to@example.com"],
  from: "from@example.com",
  subject: "subject",
  css: "h1 { color: #000000; }",
  markdown: "# H1"
)

mail.delivery_method(:smtp, address: "smtp@example.com", port: 25)
mail.deliver

License

The gem is available as open source under the terms of the MIT License.

About

Send email by markdown text.

License:MIT License


Languages

Language:Ruby 99.3%Language:Shell 0.7%