vmail 1.8.5 → 1.8.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30,6 +30,7 @@ module Vmail
30
30
  @name = config['name']
31
31
  @signature = config['signature']
32
32
  @always_cc = config['always_cc']
33
+ @always_bcc = config['always_bcc']
33
34
  @mailbox = nil
34
35
  @logger = Logger.new(config['logfile'] || STDERR)
35
36
  @logger.level = Logger::DEBUG
@@ -268,7 +269,8 @@ module Vmail
268
269
  headers = {'from' => "#{@name} <#{@username}>",
269
270
  'to' => nil,
270
271
  'subject' => subject,
271
- 'cc' => @always_cc
272
+ 'cc' => @always_cc,
273
+ 'bcc' => @always_bcc
272
274
  }
273
275
  format_headers(headers) + (append_signature ? ("\n\n" + signature) : "\n\n")
274
276
  end
data/lib/vmail/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = '1.8.5'
2
+ VERSION = '1.8.6'
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: vmail
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.8.5
5
+ version: 1.8.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Choi