Uploaded image for project: 'James Mailet'
  1. James Mailet
  2. MAILET-9

[API Design] Reconsider MailAddress

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.4
    • 3.0
    • None
    • None

    Description

      MailAddress represents an internet mail address. It is a concrete class including good, standards compliant code for parsing addresses. The strength of this design is that it enforces standards. This is also the weakness of the design. Occasionally, a looser algorithm capable of dealing with non-RFC822 mail would be preferable.

      Consider factoring as a logical interface (implemented as either an empty abstract class - my preference - or an Interface) capable of alternative implementations. The current class would become StandardMailAddress. Consider adding a marker flag for those addresses which are not RFC822 compliant.

      Attachments

        Activity

          People

            Unassigned Unassigned
            robertburrelldonkin Robert Burrell Donkin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: