vmail 2.0.7 → 2.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -56,6 +56,8 @@ module Vmail
56
56
  message = Message[message_id]
57
57
  parts_list = format_parts_info(formatter.list_parts)
58
58
  headers = format_headers(formatter.extract_headers)
59
+ # replace the date value with the one derived from the envelope
60
+ headers['date'] = message.date
59
61
  body = formatter.plaintext_part
60
62
  body.force_encoding("UTF-8")
61
63
  body = Iconv.conv('UTF-8//IGNORE', 'UTF-8', body)
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = '2.0.7'
2
+ VERSION = '2.0.8'
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: 2.0.7
5
+ version: 2.0.8
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Choi