Project

General

Profile

Actions

Defect #2916

closed

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

Added by Nick Hemsley almost 16 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email notifications
Target version:
Start date:
2009-03-06
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

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.


Files

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

Updated by Jean-Philippe Lang almost 16 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.

Actions

Also available in: Atom PDF