summaryrefslogtreecommitdiff
path: root/lib/feed2imap/itemtomail.rb
diff options
context:
space:
mode:
authorLucas Nussbaum <lucas@lucas-nussbaum.net>2009-05-06 19:20:38 +0200
committerLucas Nussbaum <lucas@lucas-nussbaum.net>2009-05-06 19:20:38 +0200
commit78d88f7f90e2737f722052a910233b16e4deafd1 (patch)
tree42475f96c8a6a68593afb48ba3827f6183894d8f /lib/feed2imap/itemtomail.rb
parent8d4be556a2d49d28506665a820ed6bc166dbdc0d (diff)
downloadfeed2imap-78d88f7f90e2737f722052a910233b16e4deafd1.tar.gz
feed2imap-78d88f7f90e2737f722052a910233b16e4deafd1.tar.bz2
feed2imap-78d88f7f90e2737f722052a910233b16e4deafd1.zip
do not put header at top of text entries.
Diffstat (limited to '')
-rw-r--r--lib/feed2imap/itemtomail.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/feed2imap/itemtomail.rb b/lib/feed2imap/itemtomail.rb
index 0f97ac0..d12d3c5 100644
--- a/lib/feed2imap/itemtomail.rb
+++ b/lib/feed2imap/itemtomail.rb
@@ -80,7 +80,7 @@ def item_to_mail(item, id, updated, from = 'Feed2Imap', inline_images = false, w
textpart = RMail::Message::new
textpart.header['Content-Type'] = 'text/plain; charset=utf-8; format=flowed'
textpart.header['Content-Transfer-Encoding'] = '8bit'
- textpart.body = item.to_text(true, wrapto)
+ textpart.body = item.to_text(true, wrapto, false)
htmlpart = RMail::Message::new
htmlpart.header['Content-Type'] = 'text/html; charset=utf-8'
htmlpart.header['Content-Transfer-Encoding'] = '8bit'