Click or drag to resize
EmailAttachment Constructor (String, ContentType)
Initializes a new instance of the EmailAttachment class with the specified content string and System.Net.Mime.ContentType.

Namespace: CMS.EmailEngine
Assembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 8.2.23
Syntax
C#
public EmailAttachment(
	string fileName,
	ContentType contentType
)

Parameters

fileName
Type: SystemString
File name
contentType
Type: System.Net.MimeContentType
Content type
See Also