net.liftweb.util.Mailer

object Mailer

object Mailer

 extends MailerImpl


Utilities for sending email.


Source: Mailer.scala(31)

 Constructors

def this

 Fields

authenticator.. var authenticator Box[Authenticator] MailerImpl
buildProps.. def buildProps Properties MailerImpl
charSet.. lazy val charSet String MailerImpl
customProperties.. var customProperties
Custom properties for the JNDI session
Map[String, String] MailerImpl
devModeSend.. lazy val devModeSend Inject[(MimeMessage) => Unit] MailerImpl
host.. def host
The host that should be used to send mail
String MailerImpl
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 MailerImpl
jndiName.. var jndiName
Use the mailer resource in your container by specifying the JNDI name
Box[String] MailerImpl
jndiSession.. lazy val jndiSession Box[Session] MailerImpl
msgSender.. protected lazy val msgSender MsgSender MailerImpl
pilotModeSend.. lazy val pilotModeSend Inject[(MimeMessage) => Unit] MailerImpl
productionModeSend.. lazy val productionModeSend Inject[(MimeMessage) => Unit] MailerImpl
profileModeSend.. lazy val profileModeSend Inject[(MimeMessage) => Unit] MailerImpl
properties.. lazy val properties Properties MailerImpl
stagingModeSend.. lazy val stagingModeSend Inject[(MimeMessage) => Unit] MailerImpl
testModeSend.. lazy val testModeSend Inject[(MimeMessage) => Unit] MailerImpl

 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] MailerImpl
addressToAddress.. implicit def addressToAddress(in : AddressType) Address MailerImpl
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 MailerImpl
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 MailerImpl
stringToMailBodyType.. implicit def stringToMailBodyType(text : String) MailBodyType MailerImpl
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 MailerImpl
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.