Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (12 sloc) 0.426 kB
require 'rubygems'
require 'mail'
require 'ruby-debug'
smtp = { :address => 'mail.fiendz.org', :port => 587, :domain => 'fiendz.org', :user_name => 'test@fiendz.org', :password => 'foobar', :enable_starttls_auto => true, :openssl_verify_mode => 'none' }
Mail.defaults { delivery_method :smtp, smtp }
mail = Mail.new do
from 'test@fiendz.org'
to 'donald.ball@gmail.com'
subject 'subject'
body 'body'
end
mail.deliver!
Jump to Line
Something went wrong with that request. Please try again.