Fixed typo.
This commit is contained in:
parent
40f6314177
commit
e9753e2d33
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ class Channel::EmailParser
|
||||||
data[:body] = data[:body].encode('utf-8', 'binary', invalid: :replace, undef: :replace, replace: '?')
|
data[:body] = data[:body].encode('utf-8', 'binary', invalid: :replace, undef: :replace, replace: '?')
|
||||||
end
|
end
|
||||||
|
|
||||||
# html part only, convert ot text and add it as attachment
|
# html part only, convert to text and add it as attachment
|
||||||
else
|
else
|
||||||
filename = '-no name-'
|
filename = '-no name-'
|
||||||
if mail.mime_type.to_s.casecmp('text/html')
|
if mail.mime_type.to_s.casecmp('text/html')
|
||||||
|
|
Loading…
Reference in a new issue