From f2b1a86d1c8cc66de64a0e85b05e543a6b19053a Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Mon, 11 Feb 2013 16:38:08 +0530 Subject: [PATCH] added date in pop3 mails --- webnotes/utils/email_lib/receive.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webnotes/utils/email_lib/receive.py b/webnotes/utils/email_lib/receive.py index 7ae696d034..93a393d733 100644 --- a/webnotes/utils/email_lib/receive.py +++ b/webnotes/utils/email_lib/receive.py @@ -29,6 +29,8 @@ class IncomingMail: """ def __init__(self, content): import email + import email.utils + import datetime import time self.mail = email.message_from_string(content)