vmail 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/vmail/imap_client.rb +3 -1
- data/lib/vmail/version.rb +1 -1
- data/website/vmail-template.html +1 -0
- metadata +2 -2
data/lib/vmail/imap_client.rb
CHANGED
@@ -128,7 +128,7 @@ module Vmail
|
|
128
128
|
elsif address_struct.name
|
129
129
|
"#{Mail::Encodings.unquote_and_convert_to(address_struct.name, 'UTF-8')} <#{[address_struct.mailbox, address_struct.host].join('@')}>"
|
130
130
|
else
|
131
|
-
[address_struct.mailbox, address_struct.host].join('@')
|
131
|
+
[Mail::Encodings.unquote_and_convert_to(address_struct.mailbox, 'UTF-8'), Mail::Encodings.unquote_and_convert_to(address_struct.host, 'UTF-8')].join('@')
|
132
132
|
end
|
133
133
|
if @mailbox == '[Gmail]/Sent Mail' && envelope.to && envelope.cc
|
134
134
|
total_recips = (envelope.to + envelope.cc).size
|
@@ -158,6 +158,8 @@ module Vmail
|
|
158
158
|
subject.col(subject_col_width),
|
159
159
|
number_to_human_size(size).rcol(6),
|
160
160
|
flags.rcol(7)].join(' ')
|
161
|
+
rescue
|
162
|
+
"#{uid.to_s} : error extracting this header"
|
161
163
|
end
|
162
164
|
|
163
165
|
UNITS = [:b, :kb, :mb, :gb].freeze
|
data/lib/vmail/version.rb
CHANGED
data/website/vmail-template.html
CHANGED
@@ -32,6 +32,7 @@
|
|
32
32
|
<li><a href="https://github.com/danchoi/vmail">github repo</a></li>
|
33
33
|
<li><a href="https://rubygems.org/gems/vmail">rubygems page</a></li>
|
34
34
|
<li><a href="https://github.com/danchoi/vmail/issues">issue tracker</a></li>
|
35
|
+
<li><a href="http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=vmail+vim#hl=en&tbo=1&tbs=mbl:1,mbl_sv:0&q=link:http://danielchoi.com/software/vmail.html&sa=X&ei=iw0JTYnsPMT_lgfgvMC1AQ&ved=0CAUQ6QcwCg&fp=1&cad=b">web reactions</a></li>
|
35
36
|
</ul>
|
36
37
|
</div>
|
37
38
|
|