----- Original Message -----
From: "Charles Benett" <[EMAIL PROTECTED]>
> I'm OK with the getters, but why does it need the setters? Why not just
> call an appropriate constructor?

Well, an 8 argument constructor isn't a good idea in my mind.  What's the
motivation for using just Mail anyway?

> If there are good reasons to keep them, that's fine. But what about:
> clear(); setSender(), setRecipients(), setRemoteHost(),
> setRemoteAddress()?

Actually, Mail already doesn't have setName defined, as well as all of the
methods you've listed.  I think you're not noticing all those methods are
commented out.  You also don't have access to getName().  Check the
javadocs... the only setter methods defined are setErrorMessage, setMessage
(2 forms), and setState()....
http://java.apache.org/james/javadoc/mailet/index.html

Serge Knystautas
Loki Technologies
http://www.lokitech.com/



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives:  <http://www.mail-archive.com/james%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to