Fixed typo.

This commit is contained in:
Thorsten Eckel 2016-01-15 21:20:48 +01:00
parent 40f6314177
commit e9753e2d33

View file

@ -201,7 +201,7 @@ class Channel::EmailParser
data[:body] = data[:body].encode('utf-8', 'binary', invalid: :replace, undef: :replace, replace: '?')
end
# html part only, convert ot text and add it as attachment
# html part only, convert to text and add it as attachment
else
filename = '-no name-'
if mail.mime_type.to_s.casecmp('text/html')