emil
package emil
- Alphabetic
- By Inheritance
- emil
- Ops
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- trait Access[F[_], C] extends AnyRef
- final case class Attachment[F[_]](filename: Option[String], mimeType: MimeType, content: Stream[F, Byte], length: F[Long]) extends Product with Serializable
- final case class Attachments[F[_]](all: Vector[Attachment[F]]) extends Product with Serializable
-
sealed
trait
BodyContent extends AnyRef
Content part of the mail body.
Content part of the mail body.
The mail body may be alternative content of text/plain, text/html or both. A body content may be specified by a String or a byte-array + charset. For encoding body contents from a string, the UTF-8 encoding is used.
The byte-array variant is then needed, if a mail is decoded from a mime-representation. A content part may use different character encodings and a html part may specifiy this encoding in its content, too. Thus it sometimes is necessary to get to the same bytes as in the original mail.
-
trait
Connection extends AnyRef
This trait is meant to be implemented by a concrete connection implementation.
This trait is meant to be implemented by a concrete connection implementation.
User code can define type bounds on their mail operations in order to access the
MailConfig
currently in use. - case class DeleteResult(count: Int) extends Product with Serializable
- trait Emil[F[_]] extends AnyRef
- sealed trait Flag extends AnyRef
- final case class Header(name: String, value: NonEmptyList[String]) extends Product with Serializable
- final case class Headers(all: List[Header]) extends Product with Serializable
- final case class Mail[F[_]](header: MailHeader, additionalHeaders: Headers, body: MailBody[F], attachments: Attachments[F]) extends Product with Serializable
- final case class MailAddress extends Product with Serializable
- sealed trait MailBody[F[_]] extends AnyRef
- final case class MailConfig(url: String, user: String, password: String, sslType: SSLType, enableXOAuth2: Boolean = false, disableCertificateCheck: Boolean = false, timeout: Duration = ...) extends Product with Serializable
- final case class MailFolder(id: String, name: String) extends Product with Serializable
- 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]) extends Product with Serializable
-
type
MailOp[F[_], C, A] = Kleisli[F, C, A]
- Definition Classes
- Ops
- final case class MimeType extends Product with Serializable
- trait Ops extends AnyRef
-
final
case class
Received(data: Vector[(String, String)], date: Instant) extends Product with Serializable
Received header as described in RCF2822.
Received header as described in RCF2822.
https://tools.ietf.org/html/rfc2822
- final case class Recipients(to: List[MailAddress], cc: List[MailAddress], bcc: List[MailAddress]) extends Product with Serializable
- sealed trait SSLType extends AnyRef
- sealed trait SearchQuery extends AnyRef
- final case class SearchResult[A](mails: Vector[A], count: Int) extends Product with Serializable
- trait SearchResultLowPriorityImplicits extends AnyRef
- trait Send[F[_], C] extends AnyRef
Value Members
- object Attachment extends Serializable
- object Attachments extends Serializable
- object BodyContent
-
object
BuildInfo extends Product with Serializable
This object was generated by sbt-buildinfo.
- object Emil
- object Flag
- object Header extends Serializable
- object Headers extends Serializable
- object Mail extends Serializable
- object MailAddress extends Serializable
- object MailBody
- object MailConfig extends Serializable
- object MailFolder extends Serializable
- object MailHeader extends Serializable
- object MimeType extends Serializable
-
object
MailOp
- Definition Classes
- Ops
- object Received extends Serializable
- object Recipients extends Serializable
- object SSLType
- object SearchQuery
- object SearchResult extends SearchResultLowPriorityImplicits with Serializable