package mailgun
- Alphabetic
- Public
- All
Type Members
-
case class
EmailMessage(from: Option[String], to: String, subject: String, text: String, html: Html) extends EssentialEmailMessage with Product with Serializable
An EssentialEmailMessage which is easy to use for the (arguably) most-common use case of sending to exactly one recipient in the to: field, with no attachments.
-
case class
EmailMessageWithAttachments(from: Option[String], to: String, subject: String, text: String, html: Html, attachments: Seq[MailgunAttachment]) extends EssentialEmailMessage with Product with Serializable
An EssentialEmailMessage for sending to exactly one recipient in the to: field, with attachments.
-
trait
EssentialEmailMessage extends AnyRef
The bare minimum of a MailGun API email message.
The bare minimum of a MailGun API email message. Basically a simplified representation of https://documentation.mailgun.com/api-sending.html#sending
-
case class
MailgunAttachment(file: File, attachmentName: Option[String] = None, contentType: Option[String] = None) extends Product with Serializable
Optionally supply a name to use if
file.getNameisn't suitable -
class
MailgunAuthenticationException extends MailgunSendingException
Represents the specific case where the caller has used incorrect Mailgun API credentials
- class MailgunEmailService extends MailgunResponseJson
- sealed trait MailgunOption extends AnyRef
- case class MailgunResponse(message: String, id: String) extends Product with Serializable
- trait MailgunResponseJson extends AnyRef
-
class
MailgunSendingException extends RuntimeException
Represents a problem returned by the Mailgun sending API
- trait MailgunSentMessageStatus extends AnyRef
-
case class
MulticastEmailMessage(from: Option[String], replyTo: Option[String], tos: Seq[String], ccs: Seq[String], bccs: Seq[String], subject: String, text: String, html: Html, attachments: Seq[MailgunAttachment] = Nil, additionalHeaders: Seq[(String, String)] = Nil) extends EssentialEmailMessage with Product with Serializable
An EssentialEmailMessage which offers the ability to send to multiple recipients in the to:, cc: and bcc: fields with optional attachments and extra headers.
- case class ScheduledSendAt(dateInMillis: Long) extends MailgunOption with Product with Serializable
Value Members
-
object
MailgunEmailService
For static-style usage:
- object MessageQueued extends MailgunSentMessageStatus with Product with Serializable
- object SendInTestMode extends MailgunOption with Product with Serializable