Groovy

From Mstor Wiki
Jump to: navigation, search

SearchTermBuilder

The Groovy SearchTermBuilder provides a less tedious way to construct javax.mail.search.SearchTerm objects. For example:

def searchTerm = new SearchTermBuilder().and() {
    from('test@example.com')
    subjectContains('Test')
}

MessageBuilder

The MessageBuilder allows you to construct complex multi-part messages in Groovy.

TODO

Personal tools