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: 12.0.0
Syntax
C#
public EmailAttachment(
	Stream contentStream,
	string name,
	string mediaType
)

Parameters

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