Skip to content

Commit

Permalink
Fixed broken smtp call
Browse files Browse the repository at this point in the history
  • Loading branch information
orgads committed Dec 11, 2011
1 parent fa0cd61 commit 7fe90f7
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 7fe90f7

Please sign in to comment.