Class HeaderType

HeaderType class

Identifies a standard header of an Internet message, such as From, Subject or Content-Type.

public sealed class HeaderType

Properties

NameDescription
static ApparentlyTo { get; }Gets the Apparently-To header: the recipients, added by some servers when a message has no To header. Non-standard; it can reveal BCC recipients.
static ApprovedBy { get; }Gets the Approved-By header: the moderator who approved a message posted to a moderated mailing list (RFC 1036). Non-standard in e-mail.
static Bcc { get; }Gets the Bcc header: the blind carbon copy recipients, which the other recipients do not see. It is removed before the message is delivered.
static CC { get; }Gets the Cc header: the carbon copy recipients, which all recipients see.
static Comments { get; }Gets the Comments header: free-form text about the message (RFC 2822).
static ContentTransferEncoding { get; }Gets the Content-Transfer-Encoding header: how the body is encoded for transfer, such as 7bit, 8bit, base64 or quoted-printable (RFC 2045).
static ContentType { get; }Gets the Content-Type header: the media type of the content and its parameters, such as text/plain; charset="utf-8" (RFC 2045).
static Date { get; }Gets the Date header: the date and time the message was composed, in the form Tue, 9 Jan 2001 23:40:00 -0800. It comes from the clock of the sender’s computer.
static DispositionNotificationTo { get; }Gets the Disposition-Notification-To header: the address to send a read receipt (message disposition notification) to. The recipient’s client may ignore the request.
static FollowupTo { get; }Gets the Followup-To header: the newsgroups that follow-up discussion should go to (RFC 1036). Not standard in e-mail.
static From { get; }Gets the From header: the author of the message.
static Importance { get; }Gets the Importance header: the importance of the message: low, normal or high.
static InReplyTo { get; }Gets the In-Reply-To header: the Message-ID of the message this one replies to.
static MessageID { get; }Gets the Message-ID header: the unique identifier of the message (RFC 822, RFC 1036).
static MIMEVersion { get; }Gets the MIME-Version header: the version of MIME the message is formatted in (RFC 2045).
static Newsgroups { get; }Gets the Newsgroups header: the newsgroups a Usenet article was posted to (RFC 1036). Not standard in e-mail, where it is used with different meanings.
static Received { get; }Gets the Received header: a record added by each mail server the message passes through (RFC 822).
static References { get; }Gets the References header: the Message-ID values of the earlier messages in the conversation.
static ReplyTo { get; }Gets the Reply-To header: the addresses that replies should go to, when they differ from the author.
static ReturnPath { get; }Gets the Return-Path header: the address that bounces are returned to: the envelope sender (MAIL FROM), added on final delivery.
static ReturnReceiptTo { get; }Gets the Return-Receipt-To header: requests a delivery receipt. Non-standard and rarely supported; use Disposition-Notification-To instead.
static Sender { get; }Gets the Sender header: the person or agent that submitted the message, when it differs from the author in From.
static Sensitivity { get; }Gets the Sensitivity header: the sensitivity of the message: personal, private or company confidential.
static Subject { get; }Gets the Subject header: the subject of the message.
static To { get; }Gets the To header: the primary recipients.
static XConfirmReadingTo { get; }Gets the X-Confirm-Reading-To header: requests a read confirmation. Non-standard and usually ignored.
static XMailer { get; }Gets the X-Mailer header: the software that created the message.

Methods

NameDescription
override Equals(object)Determines whether the specified object is the same header type.
override GetHashCode()Returns the hash code of the header type.
override ToString()Returns the name of the header, such as Return-Path.
implicit operatorPerforms an implicit conversion from HeaderType to String.

Remarks

ToString returns the name of the header as it appears in a message, such as Return-Path.

See Also