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: 8.2.23
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