<commit_before>Originally taken from my initial draft [here][blogpost].

[blogpost]: http://www.pipetodevnull.com/past/2010/11/27/simple_mailer/

## USAGE
    
    $ gem install malone

    require "malone"
  
    # typically you would do this somewhere in the bootstrapping
    # part of your application

    Malone.configure(
      host:     "smtp.gmail.com",
      port:     587,
      tls:      true,
      domain:   "mydomain.com",
      user:     "<EMAIL>",
      pass:     "<PASSWORD>",
      auth:     :login,
      from:     "<EMAIL>"
    )

    Malone.deliver(from: "<EMAIL>", to: "<EMAIL>",
                   subject: "Test subject", body: "Great!")

That's it!

## LICENSE

MIT<commit_msg>Update README to include sandbox documentation.<commit_after>Originally taken from my initial draft [here][blogpost].

[blogpost]: http://www.pipetodevnull.com/past/2010/11/27/simple_mailer/

## USAGE

    $ gem install malone

    require "malone"

    # typically you would do this somewhere in the bootstrapping
    # part of your application

    Malone.configure(
      host:     "smtp.gmail.com",
      port:     587,
      tls:      true,
      domain:   "mydomain.com",
      user:     "<EMAIL>",
      pass:     "<PASSWORD>",
      auth:     :login,
      from:     "<EMAIL>"
    )

    Malone.deliver(from: "<EMAIL>", to: "<EMAIL>",
                   subject: "Test subject", body: "Great!")

That's it!

## TESTING

    require "malone/sandbox"

    Malone.deliver(from: "<EMAIL>", to: "<EMAIL>",
                   subject: "Test subject", body: "Great!")

    Malone.deliveries.size == 1
    # => true

    envelope = Malone.deliveries.first

    "<EMAIL>" == envelope.from
    # => true

    "<EMAIL>" == envelope.to
    # => true

    "FooBar" == envelope.body
    # => true

    "Hello World" == envelope.subject## LICENSE
    # => true

MIT
{'fraction_non_alphanumeric': 0.14132186996238583, 'fraction_numerical': 0.012358946802794197, 'mean_word_length': 2.2214532871972317, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 22, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7170980', 'n_tokens_mistral': 638, 'n_tokens_neox': 598, 'n_words': 150}