Handle character encodings in single part emails correctly
This commit is contained in:
parent
eb8efa0a4b
commit
b91072bed4
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ mail = Mail.new(STDIN.readlines.join)
|
|||
if mail.multipart?
|
||||
body = mail.html_part || mail.text_part
|
||||
else
|
||||
body = mail.body
|
||||
body = mail
|
||||
end
|
||||
|
||||
message = Message.new(:sender => from, :recipient => to,
|
||||
|
|
Loading…
Add table
Reference in a new issue