Package de.uplanet.lucy.server.mail
Class GroovyMailBuilder
java.lang.Object
de.uplanet.lucy.server.mail.GroovyMailBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncomposeMail
(groovy.lang.Closure<?> p_closure) Compose a new mail using a closure.
-
Constructor Details
-
GroovyMailBuilder
public GroovyMailBuilder() throws de.uplanet.lucy.mail.SendMailConfigurationException- Throws:
de.uplanet.lucy.mail.SendMailConfigurationException
-
-
Method Details
-
composeMail
Compose a new mail using a closure.The given closure's delegate is set to a
GroovyMailBuilderWrapper
.- Parameters:
p_closure
- The closure that creates the mail.- Returns:
- The newly composed mail.
-