Mailbox Class
Used to represent a Mailbox element which is used to identify a mail-
enabled Active Directory object.
http://msdn.microsoft.com/en-us/library/aa565036%28v=EXCHG.140%29.aspx
Constructors
protected Mailbox( org.w3c.dom.Node mailboxNode )
public Mailbox( String name, javaxt.exchange.EmailAddress email )
public Mailbox( String name, String email )
public Mailbox( javaxt.exchange.Contact contact )
Methods
equals( Object obj ) returns boolean
Used to compare this Mailbox to another. Returns true if the hashcodes
match.
getDomainAddress( ) returns String
Returns a string used to represent an email address of another Exchange
account within your domain (e.g. "/o=org/ou=orgunit/cn=Recipients/cn=name").
The domain address can be resolved to an email address using the
resolveName() method.
getEmailAddress( ) returns javaxt.exchange.EmailAddress
Returns the EmailAddress associated with this Mailbox, or null if the
EmailAddress is undefined.
getID( ) returns String
getName( ) returns String
Returns the display name associated with this Mailbox (e.g. "John Smith").
hashCode( ) returns int
Returns the hashcode associated with the EmailAddress. If the
EmailAddress is undefined, returns the hashcode of the domain address.
If both the EmailAddress and domain address are undefined, returns 0.
resolveName( String name, javaxt.exchange.Connection conn ) returns javaxt.exchange.Mailbox
Attempts to resolve a user name, email address, or a domain address to a
Mailbox.
setEmailAddress( javaxt.exchange.EmailAddress emailAddress ) returns void
Used to set/update the EmailAddress associated with this Mailbox.
setEmailAddress( String emailAddress ) returns void
Used to set/update the EmailAddress associated with this Mailbox.
toString( ) returns String
Returns a string representation of this Mailbox (e.g.
"John Smith <jsmith@acme.com>").