Permalink
Browse files

Merge pull request #2 from orgads/master

Fix broken smtp call
  • Loading branch information...
2 parents 75ec594 + 7fe90f7 commit a56c265b94cb74034b8c261072c259c8edd74b14 @kurotoshiro committed Dec 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/simpleMailer.rb
View
@@ -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

0 comments on commit a56c265

Please sign in to comment.