p
mailer
package mailer
package
- Version
1.0
- Since
2019-07-18 14:25
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- mailer
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- case class Attachment(name: String, datasource: DataSource, disposition: Disposition) extends Product with Serializable
- case class ByteArrayDataSource(data: Array[Byte], mimeType: String) extends javax.mail.util.ByteArrayDataSource with Product with Serializable
- type DataSource = javax.activation.DataSource
- sealed abstract class Disposition extends AnyRef
-
case class
Email(subject: String, from: EmailAddress, text: String, htmlText: Option[String] = None, replyTo: Option[EmailAddress] = None, recipients: Seq[Recipient] = Seq.empty, attachments: Seq[Attachment] = Seq.empty) extends Product with Serializable
EMail
EMail
- Version
1.0
- Since
2019-07-18 14:23
- case class EmailAddress(name: String, address: String) extends Product with Serializable
-
class
Mailer extends AnyRef
Mailer
Mailer
- Version
1.0
- Since
2019-07-18 15:48
- case class MailerSettings(protocol: Option[String], host: String, port: String, failTo: String, auth: Option[Boolean], username: Option[String], password: Option[String], tls: Boolean = false) extends Product with Serializable
- case class Recipient(tpe: RecipientType, emailAddress: EmailAddress) extends Product with Serializable
- type RecipientType = javax.mail.Message.RecipientType
-
case class
SendEmailException(email: Email, cause: Throwable) extends RuntimeException with Product with Serializable
exceptions
exceptions
- Version
1.0
- Since
2019-07-18 15:46
- case class SendEmailTransportCloseException(result: Option[Try[Unit]], cause: Throwable) extends RuntimeException with Product with Serializable
- case class SendEmailsException(email: Seq[Email], cause: Throwable) extends RuntimeException with Product with Serializable
- case class SendEmailsTransportCloseException(results: Option[Seq[Try[Unit]]], cause: Throwable) extends RuntimeException with Product with Serializable
- type Session = javax.mail.Session
- case class TransportCloseException[T](result: Option[T], cause: Throwable) extends RuntimeException with Product with Serializable
Value Members
- object Attachment extends (String, DataSource, Disposition) ⇒ Attachment with Serializable
- object Disposition
- object Email extends Serializable
- object Mailer
- object RecipientType
- object Session