SPEmailAttachment Class

Represents an attachment in an e-mail message.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Utilities.SPEmailAttachment

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPEmailAttachment

Dim instance As SPEmailAttachment
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPEmailAttachment

Remarks

Use an SPEmailMessage object to represent an e-mail message.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPEmailAttachment Members

Microsoft.SharePoint.Utilities Namespace