net.liftweb.util.MailerImpl

trait MailerImpl

protected trait MailerImpl

 extends SimpleInjector


This trait implmenets the mail sending


Source: Mailer.scala(36)

Direct Known Subclasses

Mailer,

Nested Classes

AddressType, BCC, CC, From, MailBodyType, MailTypes, MessageInfo, MsgSender, PlainMailBodyType, PlainPlusBodyType, PlusImageHolder, ReplyTo, RoutingType, Subject, To, XHTMLMailBodyType, XHTMLPlusImages,

 Fields

authenticator.. var authenticator Box[Authenticator]
buildProps.. def buildProps Properties
charSet.. lazy val charSet String
customProperties.. var customProperties
Custom properties for the JNDI session
Map[String, String]
devModeSend.. lazy val devModeSend Inject[(MimeMessage) => Unit]
host.. def host
The host that should be used to send mail
String
hostFunc.. var hostFunc
To change the way the host is calculated, set this to the function that calcualtes the host name [details]
By default: System.getProperty("mail.smtp.host")
() => String
jndiName.. var jndiName
Use the mailer resource in your container by specifying the JNDI name
Box[String]
jndiSession.. lazy val jndiSession Box[Session]
msgSender.. protected lazy val msgSender MsgSender
pilotModeSend.. lazy val pilotModeSend Inject[(MimeMessage) => Unit]
productionModeSend.. lazy val productionModeSend Inject[(MimeMessage) => Unit]
profileModeSend.. lazy val profileModeSend Inject[(MimeMessage) => Unit]
properties.. lazy val properties Properties
stagingModeSend.. lazy val stagingModeSend Inject[(MimeMessage) => Unit]
testModeSend.. lazy val testModeSend Inject[(MimeMessage) => Unit]

 Methods

!=.. final def !=(arg0 : Any) Boolean Any
!=.. final def !=(arg0 : Object) Boolean AnyRef
==.. final def ==(arg0 : Object) Boolean AnyRef
==.. final def ==(arg0 : Any) Boolean Any
adListToAdArray.. implicit def adListToAdArray(in : List[AddressType]) Array[Address]
addressToAddress.. implicit def addressToAddress(in : AddressType) Address
asInstanceOf.. final def asInstanceOf[T0] T0 Any
clone.. protected def clone Object AnyRef
eq.. final def eq(arg0 : Object) Boolean AnyRef
equals.. def equals(arg0 : Any) Boolean AnyRef
finalize.. protected def finalize Unit AnyRef
getClass.. final def getClass Class[Any] AnyRef
hashCode.. def hashCode Int AnyRef
inject.. implicit def inject[T](implicit man : Manifest[T])
Perform the injection for the given type [details]
You can call: inject[Date] or inject[List[Map[String, PaymentThing]]]. The appropriate Manifest will be
Box[T] SimpleInjector
isInstanceOf.. final def isInstanceOf[T0] Boolean Any
ne.. final def ne(arg0 : Object) Boolean AnyRef
notify.. final def notify Unit AnyRef
notifyAll.. final def notifyAll Unit AnyRef
performTransportSend.. protected def performTransportSend(msg : MimeMessage) Unit
registerInjection.. def registerInjection[T](f : () => T)(implicit man : Manifest[T])
Register a function that will inject for the given Manifest
Unit SimpleInjector
sendMail.. def sendMail(from : From, subject : Subject, rest : MailTypes*)
Asynchronously send an email
Unit
stringToMailBodyType.. implicit def stringToMailBodyType(text : String) MailBodyType
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
toString.. def toString String AnyRef
wait.. final def wait(arg0 : Long) Unit AnyRef
wait.. final def wait Unit AnyRef
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
xmlToMailBodyType.. implicit def xmlToMailBodyType(html : NodeSeq) MailBodyType
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.