Defect #2916

rake task IMAP email import fails with emails without From: header

Added by Nick Hemsley over 12 years ago. Updated over 12 years ago.

Status:ClosedStart date:2009-03-06
Priority:NormalDue date:
Assignee:-% Done:


Category:Email notifications
Target version:0.8.2
Resolution:Fixed Affected version:


If the inbox contains an email without the From: header, currently this will cause the rake script to throw, and no more emails are processed.

I have this situation with an account on an Exchange server, and we have a spam filter on the server which sends out digest emails regarding spam. These emails do not have a from field. I am not sure if it is malformed, but it shouldnt affect the operation of the imap import operation.

I will attach a fix to silently ignore these emails.

ignore-emails-without-from-header.diff Magnifier - Patch to fix issue, one line change (559 Bytes) Nick Hemsley, 2009-03-06 05:31

Associated revisions

Revision 2553
Added by Jean-Philippe Lang over 12 years ago

Fixed: MailHandler raises an error when processing an email without From header (#2916).


#2 Updated by Jean-Philippe Lang over 12 years ago

  • Category set to Email notifications
  • Status changed from New to Closed
  • Target version set to 0.8.2
  • Resolution set to Fixed

Fixed in r2553.

Also available in: Atom PDF