Click or drag to resize
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.EmailEngine
Assembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 9.0.0
Syntax
C#
public EmailAttachment(
	Stream contentStream,
	string name,
	Guid guid,
	DateTime lastModified,
	int siteId
)

Parameters

contentStream
Type: CMS.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