net.liftweb.util

MailerImpl

trait MailerImpl extends SimpleInjector

This trait implmenets the mail sending

Attributes
protected
Linear Supertypes
SimpleInjector, Injector, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. MailerImpl
  2. SimpleInjector
  3. Injector
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Type Members

  1. class AddressType extends RoutingType

    Attributes
    sealed abstract
  2. case class BCC (address: String, name: Box[String]) extends AddressType with Product with Serializable

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

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

    Attributes
    final
  5. class Inject [T] extends StackableMaker[T] with Vendor[T]

    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.

  6. class MailBodyType extends MailTypes

    Attributes
    sealed abstract
  7. class MailTypes extends AnyRef

    Attributes
    sealed abstract
  8. case class MessageHeader (name: String, value: String) extends MailTypes with Product with Serializable

    Add message headers to outgoing messages

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

    Attributes
    final
  10. class MsgSender extends SpecializedLiftActor[MessageInfo]

    Attributes
    protected
  11. case class PlainMailBodyType (text: String) extends MailBodyType with Product with Serializable

    Represents a text/plain mail body.

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

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

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

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

    Attributes
    final
  15. class RoutingType extends MailTypes

    Attributes
    sealed abstract
  16. case class Subject (subject: String) extends RoutingType with Product with Serializable

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

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

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

    Attributes
    final

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. implicit def adListToAdArray (in: List[AddressType]): Array[Address]

    Attributes
    implicit
  7. implicit def addressToAddress (in: AddressType): Address

    Attributes
    implicit
  8. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  9. var authenticator : Box[Authenticator]

    Passwords cannot be accessed via System.

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

  10. def blockingSendMail (from: From, subject: Subject, rest: MailTypes*): Unit

    Synchronously send an email.

  11. def buildProps : Properties

  12. lazy val charSet : String

    Set the mail.

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

  13. def clone (): AnyRef

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

    Custom properties for the JNDI session

  15. lazy val devModeSend : Inject[(MimeMessage) ⇒ Unit]

    How to send a message in dev mode.

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

  16. def eq (arg0: AnyRef): Boolean

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

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  19. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  20. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  21. def host : String

    The host that should be used to send mail.

  22. var hostFunc : () ⇒ String

    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")

  23. implicit def inject [T] (implicit man: Manifest[T]): Box[T]

    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

    Attributes
    implicit
    Definition Classes
    SimpleInjectorInjector
  24. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  25. var jndiName : Box[String]

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

  26. lazy val jndiSession : Box[Session]

  27. def msgSendImpl (from: From, subject: Subject, info: List[MailTypes]): Unit

  28. lazy val msgSender : MsgSender

    Attributes
    protected
  29. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  30. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  31. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  32. def performTransportSend (msg: MimeMessage): Unit

    Attributes
    protected
  33. lazy val pilotModeSend : Inject[(MimeMessage) ⇒ Unit]

    How to send a message in pilot mode.

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

  34. lazy val productionModeSend : Inject[(MimeMessage) ⇒ Unit]

    How to send a message in production mode.

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

  35. lazy val profileModeSend : Inject[(MimeMessage) ⇒ Unit]

    How to send a message in profile mode.

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

  36. lazy val properties : Properties

  37. def registerInjection [T] (f: () ⇒ T)(implicit man: Manifest[T]): Unit

    Register a function that will inject for the given Manifest

    Register a function that will inject for the given Manifest

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

    Asynchronously send an email.

  39. lazy val stagingModeSend : Inject[(MimeMessage) ⇒ Unit]

    How to send a message in staging mode.

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

  40. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  41. lazy val testModeSend : Inject[(MimeMessage) ⇒ Unit]

    How to send a message in test mode.

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

  42. def toString (): String

    Definition Classes
    AnyRef → Any
  43. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  46. implicit def xmlToMailBodyType (html: NodeSeq): MailBodyType

    Attributes
    implicit

Inherited from SimpleInjector

Inherited from Injector

Inherited from AnyRef

Inherited from Any