Groovy Documentation

griffon.plugins.mail
[Groovy] Class DefaultMailProvider

java.lang.Object
  griffon.plugins.mail.DefaultMailProvider
All Implemented Interfaces:
MailProvider

class DefaultMailProvider
extends Object

Sends email from a Griffon application.

Authors:
Josh A. Reed


Field Summary
private static DefaultMailProvider INSTANCE

 
Constructor Summary
private DefaultMailProvider()

 
Method Summary
static DefaultMailProvider getInstance()

void withMail(Map args)

Send an email using the arguments specified.

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

INSTANCE

private static final DefaultMailProvider INSTANCE


 
Constructor Detail

DefaultMailProvider

private DefaultMailProvider()


 
Method Detail

getInstance

static DefaultMailProvider getInstance()


withMail

void withMail(Map args)
Send an email using the arguments specified. The following arguments are recognized: Future versions of this service will support HTML and file attachments.


 

Groovy Documentation