lib/mail/fields/bcc_field.rb in mail-2.7.0.rc1 vs lib/mail/fields/bcc_field.rb in mail-2.7.0.rc2
- old
+ new
@@ -35,12 +35,12 @@
include Mail::CommonAddress
FIELD_NAME = 'bcc'
CAPITALIZED_FIELD = 'Bcc'
- def initialize(value = '', charset = 'utf-8')
+ def initialize(value = nil, charset = 'utf-8')
@charset = charset
- super(CAPITALIZED_FIELD, strip_field(FIELD_NAME, value), charset)
+ super(CAPITALIZED_FIELD, value, charset)
self
end
def include_in_headers=(include_in_headers)
@include_in_headers = include_in_headers