com.aspose.email
Class MapiDistributionList

java.lang.Object
  extended by com.aspose.email.MapiDistributionList
All Implemented Interfaces:
IMapiMessageItem

public final class MapiDistributionList
extends Object
implements IMapiMessageItem

Represents the Personal Distribution List object.


Constructor Summary
MapiDistributionList()
           Initializes a new instance of the MapiDistributionList class.
MapiDistributionList(String displayName, MapiDistributionListMemberCollection members)
           Initializes a new instance of the MapiDistributionList class.
 
Method Summary
 String getBody()
           Gets message body
 String getDisplayName()
           Gets or sets the user-visible name of the personal distribution list.
 MapiDistributionListMemberCollection getMembers()
           Gets the list of the members of the personal distribution list.
 String getMessageClass()
           Gets message class
 String getSubject()
           Gets message subject
 void setDisplayName(String value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapiDistributionList

public MapiDistributionList()

Initializes a new instance of the MapiDistributionList class.


MapiDistributionList

public MapiDistributionList(String displayName,
                            MapiDistributionListMemberCollection members)

Initializes a new instance of the MapiDistributionList class.

Parameters:
displayName - The display namme.
members - The recipiens.
Method Detail

getMembers

public MapiDistributionListMemberCollection getMembers()

Gets the list of the members of the personal distribution list.

Value: The collection of MapiDistributionListMember.


getDisplayName

public String getDisplayName()

Gets or sets the user-visible name of the personal distribution list.

Value: The display name.


setDisplayName

public void setDisplayName(String value)

getMessageClass

public String getMessageClass()

Gets message class

Value:

Specified by:
getMessageClass in interface IMapiMessageItem

getBody

public String getBody()

Gets message body

Value:

Specified by:
getBody in interface IMapiMessageItem

getSubject

public String getSubject()

Gets message subject

Value:

Specified by:
getSubject in interface IMapiMessageItem


Copyright (c) 2008-2013 Aspose Pty Ltd. All Rights Reserved.