Click or drag to resize
EmailAttachment Constructor (Stream, String, String)
Initializes a new instance of the EmailAttachment class with the specified stream, name and MIME type information.

Namespace: CMS.EmailEngine
Assembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 8.2.23
Syntax
C#
public EmailAttachment(
	Stream contentStream,
	string name,
	string mediaType
)

Parameters

contentStream
Type: CMS.IOStream
Stream
name
Type: SystemString
File name
mediaType
Type: SystemString
MIME type information
See Also