diff --git a/ikaaro/server.py b/ikaaro/server.py index 54297442..eaeb43c2 100755 --- a/ikaaro/server.py +++ b/ikaaro/server.py @@ -797,7 +797,7 @@ def get_names(): # 3. Send message try: message = spool.open(name).read() - headers = HeaderParser().parsestr(message) + headers = HeaderParser().parse(message) subject = headers['subject'] from_addr = headers['from'] to_addr = headers['to']