Sha256: 36cdc6214fa6ffde09bd0a85f9b597c1234efc75cd1e2132aa4f882a83230cc3

Contents?: true

Size: 389 Bytes

Versions: 1

Compression:

Stored size: 389 Bytes

Contents

require './lib/madmimi'

mimi = MadMimi.new('nicholas@nicholaswyoung.com', 'f745b56de62ab9b46f613173a10806fb')

opt = { 'promotion_name' => 'Test Plaintext', 'recipients' => 'nicholas young <nicholas@madmimi.com>', 'from' => 'mad mimi <rubyclass@madmimi.com>',
        'subject' => 'rock and roll!' }

plaintext = 'this is my plaintext [[unsubscribe]]'

mimi.send_plaintext(opt, plaintext)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
madmimi-1.0.4 mimi_test.rb