case class SmtpStartTls(enable: Boolean = true, required: Boolean = false) extends Prop with Product with Serializable
Represents the set of JavaMail properties mail.smtp.starttls.enable
and mail.smtp.starttls.required. If called without specifying the parameters,
mail.smtp.starttls.enable is set to true and mail.smtp.starttls.required to false.
- enable
If true, enables the use of the STARTTLS command (if supported by the server) to switch the connection to a TLS-protected connection before issuing any login commands. If not set, defaults to false.
- required
If true, requires the use of the STARTTLS command. If the server doesn't support the STARTTLS command, or the command fails, the connect method will fail. If not set, defaults to false.
- Alphabetic
- By Inheritance
- SmtpStartTls
- Serializable
- Product
- Equals
- Prop
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SmtpStartTls(enable: Boolean = true, required: Boolean = false)
- enable
If true, enables the use of the STARTTLS command (if supported by the server) to switch the connection to a TLS-protected connection before issuing any login commands. If not set, defaults to false.
- required
If true, requires the use of the STARTTLS command. If the server doesn't support the STARTTLS command, or the command fails, the connect method will fail. If not set, defaults to false.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- 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()
- def convert: Seq[(String, String)]
Converts the set of properties into scala.Seq.
Converts the set of properties into scala.Seq.
- returns
sequence of key value pairs
- Definition Classes
- SmtpStartTls → Prop
- val enable: Boolean
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- 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()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def keys: Seq[String]
Returns the sequence of property keys.
Returns the sequence of property keys.
- returns
sequence of keys in given property
- Definition Classes
- Prop
- 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()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val required: Boolean
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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()