Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env ruby
- require 'rubygems'
- require 'postmark'
- require 'tmail'
- Postmark.api_key = "90f3e7b2-608d-4062-8e4b-2228ec456226"
- message = TMail::Mail.new
- message.from = "igor@wildbit.com"
- message.to = "Igor Balos <qtester8@gmail.com>"
- message.subject = "Hi Seldon, try some really long message with some lorem ipsum stuff around here check it out right now ly long message with some lorem ipsum stuff around here check it out right now ly long message with some lorem ipsum stuff around here check it out right now ly long message with some lorem ipsum stuff around here check it out right now"
- message.content_type = "text/html"
- message.body = "Hello my friend!"
- p Postmark.send_through_postmark(message).body
Add Comment
Please, Sign In to add comment