No more table to display message headers.

see #234
This commit is contained in:
Antoine Nguyen
2012-04-23 09:41:12 +02:00
parent 7932a56b4f
commit 16099d405a
4 changed files with 36 additions and 37 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ class SQLlisting(EmailListing):
class SQLemail(Email):
def __init__(self, msg, *args, **kwargs):
super(SQLemail, self).__init__(msg, *args, **kwargs)
fields = ["Subject", "From", "To", "Cc", "Date"]
fields = ["From", "To", "Cc", "Date", "Subject"]
for f in fields:
label = f
self.headers += [{"name" : label, "value" : self.get_header(msg, f)}]
+1 -1
View File
@@ -153,10 +153,10 @@ class ImapListing(EmailListing):
class ImapEmail(Email):
headernames = [
('Date', True),
('From', True),
('To', True),
('Cc', True),
('Date', True),
('Subject', True),
]