Defect #2916
rake task IMAP email import fails with emails without From: header
| Status: | Closed | Start date: | 2009-03-06 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% | |
| Category: | Email notifications | |||
| Target version: | 0.8.2 | |||
| Affected version: | Resolution: | Fixed |
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.
Associated revisions
Fixed: MailHandler raises an error when processing an email without From header (#2916).
History
#1 Updated by Nick Hemsley about 4 years ago
- File ignore-emails-without-from-header.diff
added
#2 Updated by Jean-Philippe Lang about 4 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.