Conflicts fixed

This commit is contained in:
Martin Rusev
2013-07-26 15:18:20 +03:00
2 changed files with 7 additions and 1 deletions

View File

@@ -77,7 +77,12 @@ Usage
'subject': u 'Hello John, How are you today'
}
TODO
======
- Replace the dictionaries with objects and generators
- Add logging and exceptions
- Implement smarter header parsing

View File

@@ -44,6 +44,7 @@ class MailBox(object):
parsed_email['sent_from'] = get_mail_addresses(email_message, 'from')
parsed_email['sent_to'] = get_mail_addresses(email_message, 'to')
value_headers_keys = ['Subject', 'Date','Message-ID']
key_value_header_keys = ['Received-SPF',
'MIME-Version',