Skip to content

Commit

Permalink
Merge pull request #2 from orgads/master
Browse files Browse the repository at this point in the history
Fix broken smtp call
  • Loading branch information
kurotoshiro committed Dec 15, 2011
2 parents 75ec594 + 7fe90f7 commit a56c265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/simpleMailer.rb
Expand Up @@ -100,7 +100,7 @@ def send()
Net::SMTP.start(@host,@port) do |smtp|
begin
generate_body
to = @to.map { |t| addr(t) }.join(', ')
to = @to.map { |t| addr(t) }
smtp.send_message(@body,addr(@from),to)
return true
rescue => e
Expand Down

0 comments on commit a56c265

Please sign in to comment.