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: 13.0.131
Syntax
C#
public EmailAttachment(
	string fileName,
	ContentType contentType
)

Parameters

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