[imp] Problem with email from Mailing List

Michael M Slusarz slusarz at bigworm.colorado.edu
Mon Jan 13 18:56:17 PST 2003


Quoting Chuck Hagenbuch <chuck at horde.org>:

| Quoting Michael M Slusarz <slusarz at bigworm.colorado.edu>:
| 
| > According to RFC 2822 [3.6], the following fields have a maximum of *1*
| > header per message:
| > orig-date, from, sender, reply-to, to, cc, bcc, message-id,
| in-reply-to,
| > references, *subject*
| 
| Since it's possible data input, though, we shouldn't throw a PHP error on
| it
| (ignoring an extra one is fine, IMHO, but end-level users shouldn't get
| this
| kind of an error).

Check my commit - IMP_Headers::getValue() now tries to handle these 
situations more gracefully.

michael

______________________________________________
Michael Slusarz [slusarz at bigworm.colorado.edu]
The University of Colorado at Boulder


More information about the imp mailing list