System.Web.UI.WebControls.EmbeddedMailObjectsCollection Class

Represents an ordered set of System.Web.UI.WebControls.EmbeddedMailObject objects.

See Also: EmbeddedMailObjectsCollection Members


public sealed class EmbeddedMailObjectsCollection : CollectionBase


The System.Web.UI.WebControls.EmbeddedMailObjectsCollection stores references to items that will be embedded in an e-mail message. The embedded items can be image files such as company logos. The System.Web.UI.WebControls.EmbeddedMailObjectsCollection is used by the MailDefinition.EmbeddedObjects property of the System.Web.UI.WebControls.MailDefinition object.

E-mail messages that allow embedded objects are configurable in the following Web controls by setting their System.Web.UI.WebControls.MailDefinition properties declaratively:


The values in the System.Web.UI.WebControls.EmbeddedMailObject and System.Web.UI.WebControls.EmbeddedMailObjectsCollection objects are not stored in view state. This protects against malicious users discovering path information for your server.


Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions:
Since: .NET 2.0