DisplayName Property

OpenPop.NET

OpenPop.NET POP3 Library Documentation

RfcMailAddress.DisplayName Property

The display name of this RfcMailAddress
It is possibly Empty since RFC mail addresses does not require a display name to be specified.

public string DisplayName { public get; private set; }

Example

Example header with display name:
To: Test [email protected]
DisplayName will be Test Example header without display name:
To: [email protected]
DisplayName will be Empty

See Also

RfcMailAddress Class | OpenPop.Mime.Header Namespace