MailHeader

final case
class MailHeader(id: String, messageId: Option[String], folder: Option[MailFolder], recipients: Recipients, sender: Option[MailAddress], from: Option[MailAddress], replyTo: Option[MailAddress], originationDate: Option[Instant], subject: String, received: List[Received], flags: Set[Flag])
Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def date: Option[Instant]

Return the date closest to the received date. It is the latest date from a `Received' headers and the originationDate (which usually corresponds to the sent date).

Return the date closest to the received date. It is the latest date from a `Received' headers and the originationDate (which usually corresponds to the sent date).

def withMessageID(id: String): MailHeader
def withOriginationDate(date: Instant): MailHeader
def withSubject(text: String): MailHeader

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product