Click or drag to resize
EmailAttachment Class
Extends .net e-mail attachment.
Inheritance Hierarchy

Namespace: CMS.EmailEngine
Assembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 9.0.0
Syntax
C#
public class EmailAttachment : Attachment

The EmailAttachment type exposes the following members.

Constructors
  NameDescription
Public methodEmailAttachment(String)
Initializes a new instance of the EmailAttachment class with the specified content string.
Public methodEmailAttachment(String, ContentType)
Initializes a new instance of the EmailAttachment class with the specified content string and System.Net.Mime.ContentType.
Public methodEmailAttachment(String, String)
Initializes a new instance of the EmailAttachment class with the specified content string and MIME type information.
Public methodEmailAttachment(Stream, ContentType)
Initializes a new instance of the EmailAttachment class with the specified stream and content type.
Public methodEmailAttachment(Stream, String)
Initializes a new instance of the EmailAttachment class with the specified stream and name.
Public methodEmailAttachment(Stream, String, String)
Initializes a new instance of the EmailAttachment class with the specified stream, name and MIME type information.
Public methodEmailAttachment(Stream, String, Guid, DateTime, Int32)
Initializes a new instance of the EmailAttachment class with the specified stream, name, GUID, time stamp and site ID.
Top
Properties
  NameDescription
Public propertyAttachmentGUID
GUID of the attachment's source object (e.g. MetaFileGUID).
Public propertyLastModified
Last modification time of the attachement's source object.
Public propertySiteID
Site ID of the attachment's source object.
Top
See Also