Skip to content

Commit

Permalink
Merge branch 'master' of github.com:dball/mail
Browse files Browse the repository at this point in the history
Conflicts:
	lib/mail/encodings.rb
	lib/mail/utilities.rb
	spec/mail/network/retriever_methods/pop3_spec.rb
  • Loading branch information
dball committed Oct 26, 2010
2 parents 6cbfd9b + c0d843c commit 9f8bf65
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/mail/utilities.rb
Expand Up @@ -177,6 +177,7 @@ def underscoreize( str )
str.to_s.downcase.gsub('-', '_')
end

<<<<<<< HEAD
if RUBY_VERSION <= '1.8.6'

def map_lines( str, &block )
Expand Down
13 changes: 13 additions & 0 deletions test.rb
@@ -0,0 +1,13 @@
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!

0 comments on commit 9f8bf65

Please sign in to comment.