trait SessionFactory extends AnyRef
Represents the factory, used to create JavaMail session with selected properties.
- Alphabetic
- By Inheritance
- SessionFactory
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def append(p: Prop): SessionFactory
Adds the given JavaMail property to the set of existing properties.
Adds the given JavaMail property to the set of existing properties.
- p
property to add
- returns
instance of com.github.jurajburian.mailer.SessionFactory itself
- abstract def session(credentials: Option[(String, String)] = None): Session
Returns the created JavaMail session, optionally credentials can be provided if required.
Returns the created JavaMail session, optionally credentials can be provided if required.
- credentials
credentials, represented as the pair of (username, password), optional
- returns
Plain mail Session
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(p: Prop): SessionFactory
Adds the given JavaMail property to the set of existing properties (used usually as the append operator).
Adds the given JavaMail property to the set of existing properties (used usually as the append operator).
- p
property to add
- returns
instance of com.github.jurajburian.mailer.SessionFactory itself
- def ::(p: Prop): SessionFactory
Adds the given JavaMail property to the set of existing properties (used usually as the prepend operator).
Adds the given JavaMail property to the set of existing properties (used usually as the prepend operator).
- p
property to add
- returns
instance of com.github.jurajburian.mailer.SessionFactory itself
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()