Class GroovyMailBuilder


  • @Scriptable
    public final class GroovyMailBuilder
    extends Object
    • Constructor Detail

      • GroovyMailBuilder

        public GroovyMailBuilder()
                          throws de.uplanet.lucy.mail.SendMailConfigurationException
        Throws:
        de.uplanet.lucy.mail.SendMailConfigurationException
    • Method Detail

      • composeMail

        public GroovyMailBuilderWrapper composeMail​(groovy.lang.Closure<?> p_closure)
        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.