EmailAttachment Constructor (Stream, String, Guid, DateTime, Int32) |
Initializes a new instance of the EmailAttachment class with the specified stream, name, GUID, time stamp and site ID.
Namespace: CMS.EmailEngineAssembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 12.0.0
Syntax public EmailAttachment(
Stream contentStream,
string name,
Guid guid,
DateTime lastModified,
int siteId
)
Parameters
- contentStream
- Type: System.IOStream
Stream - name
- Type: SystemString
File name - guid
- Type: SystemGuid
Attachment GUID - e.g. metafile GUID - lastModified
- Type: SystemDateTime
Time stamp of the attachment - siteId
- Type: SystemInt32
Site ID - could be 0
See Also