vmail 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -0
- data/lib/vmail/reply_template.rb +4 -1
- data/lib/vmail/version.rb +1 -1
- metadata +2 -2
data/Rakefile
CHANGED
data/lib/vmail/reply_template.rb
CHANGED
@@ -31,7 +31,10 @@ module Vmail
|
|
31
31
|
|
32
32
|
def cc
|
33
33
|
return nil unless @replyall
|
34
|
-
cc = @mail.header['to'].value.split(/,\s*/)
|
34
|
+
cc = @mail.header['to'].value.split(/,\s*/)
|
35
|
+
if @mail.header['cc']
|
36
|
+
cc += @mail.header['cc'].value.split(/,\s*/)
|
37
|
+
end
|
35
38
|
cc = cc.flatten.compact.
|
36
39
|
select {|x|
|
37
40
|
x.to_s[/<([^>]+)>/, 1] !~ /#{@username}/ && x.to_s[/^[^<]+/, 1] !~ /#{@name}/
|
data/lib/vmail/version.rb
CHANGED