james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Wiederkehr <markus.wiederk...@gmail.com>
Subject [mime4j] remove NamedMailbox?
Date Thu, 22 Jan 2009 13:03:56 GMT
I am still working on MIME4J-100 and would now like to add methods for
creating address header fields..

For this it would be nice if Mailbox had a one-argument constructor to
create a Mailbox object from an e-mail address without having to parse
the address first..

I also wonder if NamedMailbox could be removed.. The optional
display-name could be merged into Mailbox (i.e. Mailbox would become

The goal would be to be able to write something like this:

  Mailbox mailbox = new Mailbox("John Doe <john.doe@acme.org>");
  MailBoxListField from = Fields.from(mailbox);


  Message message = ...
  Mailbox mailbox = new Mailbox("john.doe@acme.org");

Any objections to removing NamedMailbox?


To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message