Click or drag to resize
EmailMessageGetHeaderFields Method (String)
Gets individual email header fields from header text.

Namespace: CMS.EmailEngine
Assembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 9.0.0
Syntax
C#
public static NameValueCollection GetHeaderFields(
	string emailHeader
)

Parameters

emailHeader
Type: SystemString
Email header text

Return Value

Type: NameValueCollection
Name-value collection containing individual field names and bodies
Remarks
This approximates how the email header fields should be parsed, see RFC 5322 for complete specification.
See Also