vmail 1.9.5 → 1.9.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -285,7 +285,7 @@ module Vmail
285
285
  def format_headers(hash)
286
286
  lines = []
287
287
  hash.each_pair do |key, value|
288
- if value.nil?
288
+ if value.nil? && key != 'to' && key != 'subject'
289
289
  next
290
290
  end
291
291
  if value.is_a?(Array)
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = '1.9.5'
2
+ VERSION = '1.9.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.9.5
5
+ version: 1.9.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Choi