@PermitAll public class EmailDispatcherImpl extends Object implements EmailDispatcher
| Constructor and Description |
|---|
EmailDispatcherImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
dispatch(javax.mail.internet.InternetAddress recipient,
String subject,
String templatePlain,
String templateHtml,
Map<String,Object> properties)
Dispatches an email message to the given recipient, with the subject.
|
public boolean dispatch(javax.mail.internet.InternetAddress recipient,
String subject,
String templatePlain,
String templateHtml,
Map<String,Object> properties)
EmailDispatcherdispatch in interface EmailDispatcherrecipient - the recipient of the messagesubject - the subject of the message, already localizedtemplatePlain - the template to use for plain texttemplateHtml - the template to use for HTML messageproperties - the properties to merge with the templateCopyright © 2014–2016 Red Hat, Inc.. All rights reserved.