[BUG][FIX] MailMessage with multiple to headers

Doug Way dway at mailcan.com
Fri Jul 2 05:45:26 UTC 2004


MailMessage is definitely in need of some help.  Most annoying is that 
there are getters/accessors for "to", "cc" and other commonly used 
fields, but no setters... you have to call setField:/setFields: with a 
hardcoded 'to' string, etc.

Maybe this should just be cleaned up in 3.8.  Although this changeset 
is a reasonable first step.  (Except it's missing the test class 
definition for some reason.)

- Doug


On Tuesday, June 29, 2004, at 10:39 AM, frank.shearar at rnid.org.uk wrote:

>
> "Change Set:		MailMessageTo-fbs
> Date:			29 June 2004
> Author:			Frank Shearar
>
> Currently MailMessage allows all sorts of undesirable occurences, like
> allowing multiple To lines. RFC 2822 forbids this. This changeset
> supplies a protocol that, if used, guarantees that you can add as many
> recipients as you like to a MailMessage while maintaining a single To
> header.
>
> Too, this changeset moves MailMessage to the Network-RFC822-Tests
> category."
> <MailMessageTo-fbs.cs.gz>




More information about the Squeak-dev mailing list