MapiDistributionList

Inheritance: java.lang.Object, com.aspose.email.MapiPropertyContainer, com.aspose.email.MapiMessageItemBase

public final class MapiDistributionList extends MapiMessageItemBase

Represents the Personal Distribution List object.

Constructors

Constructor Description
MapiDistributionList() Initializes a new instance of the MapiDistributionList class.
MapiDistributionList(String displayName, MapiDistributionListMemberCollection members) Initializes a new instance of the MapiDistributionList class.

Methods

Method Description
getMembers() Gets the list of the members of the personal distribution list.
getDisplayName() Gets or sets the user-visible name of the personal distribution list.
setDisplayName(String value) Gets or sets the user-visible name of the personal distribution list.
save(String fileName) Saves the specified file name.
save(OutputStream stream) Saves the specified stream.

MapiDistributionList()

public MapiDistributionList()

Initializes a new instance of the MapiDistributionList class.

MapiDistributionList(String displayName, MapiDistributionListMemberCollection members)

public MapiDistributionList(String displayName, MapiDistributionListMemberCollection members)

Initializes a new instance of the MapiDistributionList class.

Parameters:

Parameter Type Description
displayName java.lang.String The display namme.
members MapiDistributionListMemberCollection The recipiens.

getMembers()

public final MapiDistributionListMemberCollection getMembers()

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

Value: The collection of MapiDistributionListMember.

Returns: MapiDistributionListMemberCollection

getDisplayName()

public final String getDisplayName()

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

Value: The display name.

Returns: java.lang.String

setDisplayName(String value)

public final void setDisplayName(String value)

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

Value: The display name.

Parameters:

Parameter Type Description
value java.lang.String

save(String fileName)

public final void save(String fileName)

Saves the specified file name.

Parameters:

Parameter Type Description
fileName java.lang.String Name of the file.

save(OutputStream stream)

public final void save(OutputStream stream)

Saves the specified stream.

Parameters:

Parameter Type Description
stream java.io.OutputStream The stream.