Object/Trait

net.liftweb.util

Mailer

Related Docs: trait Mailer | package util

Permalink

object Mailer extends Mailer

Utilities for sending email.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Mailer
  2. Mailer
  3. SimpleInjector
  4. Injector
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. sealed abstract class AddressType extends RoutingType

    Permalink
  2. final case class BCC(address: String, name: Box[String] = Empty) extends AddressType with Product with Serializable

    Permalink
  3. final case class CC(address: String, name: Box[String] = Empty) extends AddressType with Product with Serializable

    Permalink
  4. final case class From(address: String, name: Box[String] = Empty) extends AddressType with Product with Serializable

    Permalink
  5. abstract class Inject[T] extends StackableMaker[T] with Vendor[T]

    Permalink

    Create an object or val that is a subclass of the FactoryMaker to generate factory for a particular class as well as define session and request specific vendors and use doWith to define the vendor just for the scope of the call.

    Create an object or val that is a subclass of the FactoryMaker to generate factory for a particular class as well as define session and request specific vendors and use doWith to define the vendor just for the scope of the call.

    Definition Classes
    SimpleInjector
  6. abstract class MailBodyType extends MailTypes

    Permalink
  7. sealed abstract class MailTypes extends AnyRef

    Permalink
  8. final case class MessageHeader(name: String, value: String) extends MailTypes with Product with Serializable

    Permalink

    Add message headers to outgoing messages

  9. final case class MessageInfo(from: From, subject: Subject, info: List[MailTypes]) extends Product with Serializable

    Permalink
  10. class MsgSender extends SpecializedLiftActor[MessageInfo]

    Permalink
    Attributes
    protected
    Definition Classes
    Mailer
  11. final case class PlainMailBodyType(text: String) extends MailBodyType with Product with Serializable

    Permalink

    Represents a text/plain mail body.

    Represents a text/plain mail body. The given text will be encoded as UTF-8 when sent.

  12. final case class PlainPlusBodyType(text: String, charset: String) extends MailBodyType with Product with Serializable

    Permalink

    Represents a text/plain mail body that is encoded with the specified charset

  13. final case class PlusImageHolder(name: String, mimeType: String, bytes: Array[Byte], attachment: Boolean = false) extends Product with Serializable

    Permalink
  14. final case class ReplyTo(address: String, name: Box[String] = Empty) extends AddressType with Product with Serializable

    Permalink
  15. sealed abstract class RoutingType extends MailTypes

    Permalink
  16. final case class Subject(subject: String) extends RoutingType with Product with Serializable

    Permalink
  17. final case class To(address: String, name: Box[String] = Empty) extends AddressType with Product with Serializable

    Permalink
  18. final case class XHTMLMailBodyType(text: NodeSeq) extends MailBodyType with Product with Serializable

    Permalink
  19. final case class XHTMLPlusImages(text: NodeSeq, items: PlusImageHolder*) extends MailBodyType with Product with Serializable

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. implicit def adListToAdArray(in: List[AddressType]): Array[Address]

    Permalink
    Definition Classes
    Mailer
  5. implicit def addressToAddress(in: AddressType): Address

    Permalink
    Definition Classes
    Mailer
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. var authenticator: Box[Authenticator]

    Permalink

    Passwords cannot be accessed via System.getProperty.

    Passwords cannot be accessed via System.getProperty. Instead, we provide a means of explicitlysetting the authenticator.

    Definition Classes
    Mailer
  8. def blockingSendMail(from: From, subject: Subject, rest: MailTypes*): Unit

    Permalink

    Synchronously send an email.

    Synchronously send an email.

    Definition Classes
    Mailer
  9. def buildMailBody(tab: MailBodyType): BodyPart

    Permalink

    Given a MailBodyType, convert it to a javax.mail.BodyPart.

    Given a MailBodyType, convert it to a javax.mail.BodyPart. You can override this method if you add custom MailBodyTypes

    Attributes
    protected
    Definition Classes
    Mailer
  10. def buildProps: Properties

    Permalink
    Definition Classes
    Mailer
  11. lazy val charSet: String

    Permalink

    Set the mail.charset property to something other than UTF-8 for non-UTF-8 mail.

    Set the mail.charset property to something other than UTF-8 for non-UTF-8 mail.

    Definition Classes
    Mailer
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. var customProperties: Map[String, String]

    Permalink

    Custom properties for the JNDI session

    Custom properties for the JNDI session

    Definition Classes
    Mailer
  14. lazy val devModeSend: Inject[(MimeMessage) ⇒ Unit]

    Permalink

    How to send a message in dev mode.

    How to send a message in dev mode. By default, use Transport.send(msg)

    Definition Classes
    Mailer
  15. def encodeHtmlBodyPart(in: NodeSeq): String

    Permalink

    The default mechanism for encoding a NodeSeq to a String representing HTML.

    The default mechanism for encoding a NodeSeq to a String representing HTML. By default, use Html5.toString(node)

    Attributes
    protected
    Definition Classes
    Mailer
  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def firstNode(in: NodeSeq): Node

    Permalink
    Attributes
    protected
    Definition Classes
    Mailer
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. def host: String

    Permalink

    The host that should be used to send mail.

    The host that should be used to send mail.

    Definition Classes
    Mailer
  23. var hostFunc: () ⇒ String

    Permalink

    To change the way the host is calculated, set this to the function that calcualtes the host name.

    To change the way the host is calculated, set this to the function that calcualtes the host name. By default: System.getProperty("mail.smtp.host")

    Definition Classes
    Mailer
  24. implicit def inject[T](implicit man: Manifest[T]): Box[T]

    Permalink

    Perform the injection for the given type.

    Perform the injection for the given type. You can call: inject[Date] or inject[List[Map[String, PaymentThing]]]. The appropriate Manifest will be

    Definition Classes
    SimpleInjectorInjector
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. var jndiName: Box[String]

    Permalink

    Use the mailer resource in your container by specifying the JNDI name

    Use the mailer resource in your container by specifying the JNDI name

    Definition Classes
    Mailer
  27. lazy val jndiSession: Box[Session]

    Permalink
    Definition Classes
    Mailer
  28. def msgSendImpl(from: From, subject: Subject, info: List[MailTypes]): Unit

    Permalink
    Definition Classes
    Mailer
  29. lazy val msgSender: MsgSender

    Permalink
    Attributes
    protected
    Definition Classes
    Mailer
  30. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. def performTransportSend(msg: MimeMessage): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Mailer
  34. lazy val pilotModeSend: Inject[(MimeMessage) ⇒ Unit]

    Permalink

    How to send a message in pilot mode.

    How to send a message in pilot mode. By default, use Transport.send(msg)

    Definition Classes
    Mailer
  35. lazy val productionModeSend: Inject[(MimeMessage) ⇒ Unit]

    Permalink

    How to send a message in production mode.

    How to send a message in production mode. By default, use Transport.send(msg)

    Definition Classes
    Mailer
  36. lazy val profileModeSend: Inject[(MimeMessage) ⇒ Unit]

    Permalink

    How to send a message in profile mode.

    How to send a message in profile mode. By default, use Transport.send(msg)

    Definition Classes
    Mailer
  37. lazy val properties: Properties

    Permalink
    Definition Classes
    Mailer
  38. def registerInjection[T](f: () ⇒ T)(implicit man: Manifest[T]): Unit

    Permalink

    Register a function that will inject for the given Manifest

    Register a function that will inject for the given Manifest

    Definition Classes
    SimpleInjector
  39. def sendMail(from: From, subject: Subject, rest: MailTypes*): Unit

    Permalink

    Asynchronously send an email.

    Asynchronously send an email.

    Definition Classes
    Mailer
  40. lazy val stagingModeSend: Inject[(MimeMessage) ⇒ Unit]

    Permalink

    How to send a message in staging mode.

    How to send a message in staging mode. By default, use Transport.send(msg)

    Definition Classes
    Mailer
  41. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  42. lazy val testModeSend: Inject[(MimeMessage) ⇒ Unit]

    Permalink

    How to send a message in test mode.

    How to send a message in test mode. By default, log the message

    Definition Classes
    Mailer
  43. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  44. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. implicit def xmlToMailBodyType(html: NodeSeq): MailBodyType

    Permalink
    Definition Classes
    Mailer

Inherited from Mailer

Inherited from SimpleInjector

Inherited from Injector

Inherited from AnyRef

Inherited from Any

Ungrouped