Project

sendmark

0.0
No commit activity in last 3 years
No release in over 3 years
Send email by markdown text.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.13
~> 10.0
~> 3.0

Runtime

~> 2.6
~> 3.4
 Project Readme

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.