Permalink
Browse files

probably only add To header if there is none

  • Loading branch information...
1 parent 04e0aa1 commit 473ec16b1fc8c09245db40cfacadcb27cf198cc8 @singpolyma committed Apr 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 sendsubs.rb
View
@@ -64,7 +64,7 @@
mail[:list_archive] = "<#{ARGV[0]}>"
mail[:list_subscribe] = "<mailto:#{group}---subscribe@#{ARGV[1]}>"
mail[:list_unsubscribe] = "<mailto:#{group}---unsubscribe@#{ARGV[1]}>"
- mail[:to] = "#{group}@#{ARGV[1]}"
+ mail[:to] = "#{group}@#{ARGV[1]}" unless mail[:to]
mail[:sender] = "#{group}@#{ARGV[1]}"
mail[:return_path] = "#{group}@#{ARGV[1]}"
def mail.destinations

0 comments on commit 473ec16

Please sign in to comment.