Groovy Documentation

services
Class EmailerService

java.lang.Object
  services.EmailerService

class EmailerService

Simple service for sending emails. Work is planned in the Grails roadmap to implement first-class email support, so there's no point in making this code any more sophisticated


Property Summary
SimpleMailMessage mailMessage

MailSender mailSender

boolean transactional

 
Constructor Summary
EmailerService()

 
Method Summary
def sendEmails(def mails)

Send a list of emails

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

Property Detail

mailMessage

SimpleMailMessage mailMessage


mailSender

MailSender mailSender


transactional

boolean transactional


 
Constructor Detail

EmailerService

EmailerService()


 
Method Detail

sendEmails

public def sendEmails(def mails)
Send a list of emails
param:
mails a list of maps


 

Groovy Documentation