Bugs: Browse | Submit New | Admin

[#8668] Should cleanly handle email with no FROM information

Date:
2007-02-15 04:17
Priority:
3
Submitted By:
Kevin Smith (qualitycode)
Assigned To:
Dave Brown (dagbrown)
Category:
None
State:
Open
Summary:
Should cleanly handle email with no FROM information

Detailed description
Currently, email with no FROM (which do exist in the wild) cause a nil [] exception to be raised in Headers#initialize.
This is really hard to catch in a way that I can deal with it correctly.

Either gurgitate should find a way to "just work" in this case, or if that is not possible (which would be
understandable), it should raise a specific exception so callers can know what happened.

Add A Comment: Notepad

Please login


Followup

Message
Date: 2007-04-21 06:25
Sender: Dave Brown

I changed it so that instead of panicking, it now returns ""
for a value of FROM.  Look out for gurgitate-mail 1.8.4 any moment
now.
Date: 2007-04-21 02:12
Sender: Dave Brown

Good catch.  I would prefer it to "just work" myself,
so that's what I'll work towards.  Thank you for your report.

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
resolution_idNone2007-04-21 06:25dagbrown
assigned_tonone2007-04-21 02:12dagbrown