mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-12-02 12:13:54 +01:00
@@ -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)}]
|
||||
|
||||
@@ -153,10 +153,10 @@ class ImapListing(EmailListing):
|
||||
|
||||
class ImapEmail(Email):
|
||||
headernames = [
|
||||
('Date', True),
|
||||
('From', True),
|
||||
('To', True),
|
||||
('Cc', True),
|
||||
('Date', True),
|
||||
('Subject', True),
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user