package header
- Alphabetic
- By Inheritance
- header
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class Auto-Submitted(tpe: Auto-Submitted.AutoType.Value, parameters: Option[Seq[String]]) extends DefaultEmailHeaderField with Product with Serializable
- case class Comments(comments: String) extends DefaultEmailHeaderField with Product with Serializable
RFC 5322 3.6.5
RFC 5322 3.6.5
The informational fields are all optional. The "Subject:" and "Comments:" fields are unstructured fields as defined in section 2.2.1, and therefore may contain text or folding white space.
- case class Content-Description(description: String) extends DefaultEmailHeaderField with ContentHeaderField with Product with Serializable
- case class Content-Disposition(disposition: ContentDisposition) extends DefaultEmailHeaderField with ContentHeaderField with Product with Serializable
- case class Content-ID(id: String) extends DefaultEmailHeaderField with ContentHeaderField with Product with Serializable
- case class Content-Transfer-Encoding(value: TransferEncoding) extends ContentHeaderField with DefaultEmailHeaderField with Product with Serializable
- case class Content-Type(tpe: ContentType) extends ContentHeaderField with DefaultEmailHeaderField with Product with Serializable
- trait ContentHeaderDescription[H <: ContentHeaderField] extends HeaderDescription[H]
- trait ContentHeaderField extends EmailHeaderField
denotes header fields that may be used with MIME parts *
- abstract class DefaultContentHeaderFieldDescription[H <: ContentHeaderField] extends DefaultHeaderDescription[H] with ContentHeaderDescription[H]
- trait DefaultEmailHeaderField extends EmailHeaderField
- abstract class DefaultHeaderDescription[H <: EmailHeaderField] extends HeaderDescription[H]
- case class Destination(tpe: DestinationType.Value, email: EmailAddress, others: List[EmailAddress]) extends EmailHeaderField with Product with Serializable
RFC 5322 3.6.3.
RFC 5322 3.6.3.
The destination fields of a message consist of three possible fields, each of the same form: the field name, which is either "To", "Cc", or "Bcc", followed by a comma-separated list of one or more addresses
- tpe
Type of the destination (To, Cc, Bcc)
Destination address
- others
Other Email addresses
- trait EmailHeaderField extends AnyRef
- case class From(email: EmailAddress, others: List[EmailAddress]) extends DefaultEmailHeaderField with Product with Serializable
RFC 5322 3.6.2.
RFC 5322 3.6.2.
The "From:" field specifies the author(s) of the message, that is, the mailbox(es) of the person(s) or system(s) responsible for the writing of the message.
Email of the person
- others
List of other autors of this email.
- case class GenericField(name: String, value: String) extends EmailHeaderField with ContentHeaderField with Product with Serializable
Any field that is not parsed to EmailHeaderFiled types
- trait HeaderDescription[H <: EmailHeaderField] extends AnyRef
description of header, including its codec *
- case class In-Reply-To(msgId: @@[String, Message-ID], others: List[@@[String, Message-ID]]) extends DefaultEmailHeaderField with Product with Serializable
RFC 5322 3.6.4
RFC 5322 3.6.4
The "In-Reply-To:" and "References:" fields are used when creating a reply to a message. They hold the message identifier of the original message and the message identifiers of other messages (for example, in the case of a reply to a message that was itself a reply). The "In-Reply-To:" field may be used to identify the message (or messages) to which the new message is a reply, while the "References:" field may be used to identify a "thread" of conversation.
- msgId
Id of the message
- others
Id of other messages
- case class Keywords(keyword: String, other: List[String]) extends DefaultEmailHeaderField with Product with Serializable
Created by pach on 17/10/17.
- case class MIME-Version(version: String) extends DefaultEmailHeaderField with Product with Serializable
- case class Message-ID(id: @@[String, Message-ID]) extends DefaultEmailHeaderField with Product with Serializable
RFC 5322 3.6.4
RFC 5322 3.6.4
The "Message-ID:" field provides a unique message identifier that refers to a particular version of a particular message. The uniqueness of the message identifier is guaranteed by the host that generates it (see below). This message identifier is intended to be machine readable and not necessarily meaningful to humans. A message identifier pertains to exactly one version of a particular message; subsequent revisions to the message each receive new message identifiers.
- case class NonRFC(name: String, value: String) extends EmailHeaderField with ContentHeaderField with Product with Serializable
Value of known header is not RFC compliant Only for decoding of incoming emails.
- case class OriginationDate(date: ZonedDateTime) extends EmailHeaderField with Product with Serializable
RFC 5322 3.6.1
RFC 5322 3.6.1
The origination date specifies the date and time at which the creator of the message indicated that the message was complete and ready to enter the mail delivery system.
- case class Received(token: String, at: ZonedDateTime) extends DefaultEmailHeaderField with Product with Serializable
Created by pach on 17/10/17.
- case class References(msgId: @@[String, Message-ID], others: List[@@[String, Message-ID]]) extends DefaultEmailHeaderField with Product with Serializable
RFC 5322 3.6.4
RFC 5322 3.6.4
The "In-Reply-To:" and "References:" fields are used when creating a reply to a message. They hold the message identifier of the original message and the message identifiers of other messages (for example, in the case of a reply to a message that was itself a reply). The "In-Reply-To:" field may be used to identify the message (or messages) to which the new message is a reply, while the "References:" field may be used to identify a "thread" of conversation.
- msgId
Id of the message
- others
Id of other messages
- case class Resent-Date(date: ZonedDateTime) extends DefaultEmailHeaderField with Product with Serializable
RFC 5322 3.6.6:
RFC 5322 3.6.6:
Resent fields SHOULD be added to any message that is reintroduced by a user into the transport system. A separate set of resent fields SHOULD be added each time this is done.
For instance, the "Resent-Date:" field corresponds to the "Date:" field
- case class Resent-From(email: EmailAddress, others: List[EmailAddress]) extends DefaultEmailHeaderField with Product with Serializable
RFC 5322 3.6.6:
RFC 5322 3.6.6:
Resent fields SHOULD be added to any message that is reintroduced by a user into the transport system. A separate set of resent fields SHOULD be added each time this is done.
For instance, the "Resent-From:" field corresponds to the "From:" field
- case class Resent-Message-ID(id: @@[String, Message-ID]) extends DefaultEmailHeaderField with Product with Serializable
RFC 5322 3.6.6:
RFC 5322 3.6.6:
Resent fields SHOULD be added to any message that is reintroduced by a user into the transport system. A separate set of resent fields SHOULD be added each time this is done.
For instance, the "Resent-Message-ID:" field corresponds to the "Message-ID:" field
- case class Resent-Sender(sender: EmailAddress) extends DefaultEmailHeaderField with Product with Serializable
RFC 5322 3.6.6:
RFC 5322 3.6.6:
Resent fields SHOULD be added to any message that is reintroduced by a user into the transport system. A separate set of resent fields SHOULD be added each time this is done.
For instance, the "Resent-Sender:" field corresponds to the "Sender:" field
- case class ResentDestination(tpe: DestinationType.Value, email: EmailAddress, others: List[EmailAddress]) extends EmailHeaderField with Product with Serializable
RFC 5322 3.6.6:
RFC 5322 3.6.6:
Resent fields SHOULD be added to any message that is reintroduced by a user into the transport system. A separate set of resent fields SHOULD be added each time this is done.
For instance, the "Resent-To:" field corresponds to the "To:" field
- tpe
Type of the destination (To, Cc, Bcc)
Destination address
- others
Other Email addresses
- case class Return-Path(path: String) extends DefaultEmailHeaderField with Product with Serializable
RFC 5322 3.6.7:
RFC 5322 3.6.7:
The "Return-Path:" header field contains a pair of angle brackets that enclose an optional addr-spec.
- case class Sender(sender: EmailAddress) extends DefaultEmailHeaderField with Product with Serializable
RFC 5322 3.6.2:
RFC 5322 3.6.2:
if a secretary were to send a message for another person, the mailbox of the secretary would appear in the "Sender:" field and the mailbox of the actual author would appear in the "From:" field.
- case class Subject(subject: String) extends DefaultEmailHeaderField with Product with Serializable
RFC 5322 3.6.5
RFC 5322 3.6.5
The informational fields are all optional. The "Subject:" and "Comments:" fields are unstructured fields as defined in section 2.2.1, and therefore may contain text or folding white space.
Value Members
- object Auto-Submitted extends DefaultHeaderDescription[Auto-Submitted] with Serializable
- object Comments extends DefaultHeaderDescription[Comments] with Serializable
- object Content-Description extends DefaultContentHeaderFieldDescription[Content-Description] with Serializable
- object Content-Disposition extends DefaultContentHeaderFieldDescription[Content-Disposition] with Serializable
- object Content-ID extends DefaultContentHeaderFieldDescription[Content-ID] with Serializable
- object Content-Transfer-Encoding extends DefaultContentHeaderFieldDescription[Content-Transfer-Encoding] with Serializable
- object Content-Type extends DefaultContentHeaderFieldDescription[Content-Type] with Serializable
- object Destination extends Serializable
- object DestinationType extends Enumeration
type of message destination *
- object From extends DefaultHeaderDescription[From] with Serializable
- object In-Reply-To extends DefaultHeaderDescription[In-Reply-To] with Serializable
- object Keywords extends DefaultHeaderDescription[Keywords] with Serializable
- object MIME-Version extends DefaultHeaderDescription[MIME-Version] with Serializable
- object Message-ID extends DefaultHeaderDescription[Message-ID] with Serializable
- object OriginationDate extends HeaderDescription[OriginationDate] with Serializable
- object Received extends DefaultHeaderDescription[Received] with Serializable
- object References extends DefaultHeaderDescription[References] with Serializable
- object Resent-Date extends DefaultHeaderDescription[Resent-Date] with Serializable
- object Resent-From extends DefaultHeaderDescription[Resent-From] with Serializable
- object Resent-Message-ID extends DefaultHeaderDescription[Resent-Message-ID] with Serializable
- object Resent-Sender extends DefaultHeaderDescription[Resent-Sender] with Serializable
- object ResentDestination extends Serializable
- object Return-Path extends DefaultHeaderDescription[Return-Path] with Serializable
- object Sender extends DefaultHeaderDescription[Sender] with Serializable
- object Subject extends DefaultHeaderDescription[Subject] with Serializable