Hunny Software Library Reference

MsgId Class

Class that represents an RFC 2822 message ID.

For a list of all members of this type, see MsgId Members.

System.Object
   Node
      FieldBody
         MsgId

[Visual Basic]
Public Class MsgId
Inherits FieldBody
[C#]
public class MsgId : FieldBody

Remarks

MsgId represents a message ID as described in RFC 2822. A message ID appears as the field body of the "Message-ID" header field, and has a local part and a domain separated by an "at" sign. The following is an example of a "Message-ID" header field:

    Message-ID: <994590483.5890@somehost.net>

In the above example, the local part is "994590483.5890" and the domain is "somehost.net". In MIME body parts, a message ID can also appear as the field body of the "Content-ID" header field.

In Hunny MIME.NET, a MsgId contains strings that contain the local part and the domain.

In the document tree representation of message, a MsgId object may only be a leaf node, having a parent but no child nodes.

MsgId has methods for getting or setting its local part and its domain. You may have the library to create the contents of a MsgId object for you by calling the methods CreateLocalPart() and CreateDomain(). You can set the default domain by setting the DefaultDomain property.

Requirements

Namespace: Hunny.Mime

Assembly: Hunny.Mime (in Hunny.Mime.dll)

See Also

MsgId Members | Hunny.Mime Namespace