emil.javamail.internal

Type members

Classlikes

class AccessGimapImpl[F[_]] extends AccessImapImpl[F] with AccessImap[F, JavaMailConnectionGeneric[GmailStore, Transport, GmailFolder]]
class AccessImapImpl[F[_]] extends AccessImpl[F] with AccessImap[F, JavaMailImapConnection]
class AccessImpl[F[_]] extends Access[F, JavaMailConnection]
case class GlobalProperties(props: Map[String, String])

JavaMail uses various system properties to configure internals. Those properties are often read at class loading time and then cached in a static variable. Thus, it must be set as a system property to be surely existent before any class loading happens.

JavaMail uses various system properties to configure internals. Those properties are often read at class loading time and then cached in a static variable. Thus, it must be set as a system property to be surely existent before any class loading happens.

But the defaults are not good enough and it is tedious to always run the apps with a correctly configured command line. So this class holds certain system properties related to java mail that are set programmatically at a point where no javamail classes should have been loaded yet (when using emil only).

This class collects some javamail related system properties. They are applied early enough (wrt to emil library). By default the lenient' set is applied. Properties are only set, if the current value is absent. Thus, any system properties applied before are retained and not overwritten by this class. To skip this, specify the system propertyemil.javamail.globalproperties=empty'. In this case nothing is applied.

Companion:
object
Companion:
class
case class GmailLabel(value: String)
sealed trait InternalId
Companion:
object
object InternalId
Companion:
class
final case class JavaMailConnectionGeneric[+Str <: Store, +Trns <: Transport, +Fldr <: Folder](config: MailConfig, session: Session, mailStore: Option[Str], mailTransport: Option[Trns]) extends Connection
trait Logger
Companion:
object
object Logger
Companion:
class
final class SendImpl[F[_]] extends Send[F, JavaMailConnection]
object Using
object Util

Types

type JavaMailConnection = JavaMailConnectionGeneric[Store, Transport, Folder]
type JavaMailImapConnection = JavaMailConnectionGeneric[IMAPStore, Transport, IMAPFolder]