added date in pop3 mails

This commit is contained in:
Rushabh Mehta
2013-02-11 16:21:14 +05:30
parent 429d911b81
commit 629c196606
3 changed files with 6 additions and 4 deletions

View File

@@ -39,6 +39,7 @@ class JobsMailbox(POP3Mailbox):
name = (mail.from_real_name and (mail.from_real_name + " - ") or "") \
+ mail.from_email
applicant = webnotes.model_wrapper({
"creation": mail.date,
"doctype":"Job Applicant",
"applicant_name": name,
"email_id": mail.from_email,