Constructors Constructor Description
All Methods Instance Methods Concrete Methods Modifier and Type Method Description
sendEmail(String event, String recipient, Object data)This method is invoked when an event for sending emails is generated.
public boolean sendEmail(String event, String recipient, Object data) throws EmailEventExceptionThis method is invoked when an event for sending emails is generated. It looks for all
EmailEventContentGeneratorclasses listening to this event and generates an email using them.
event- Name of the event to send emails for
recipient- Email address of the email's recipient
data- Object that the EmailEventContentGenerator will receive to generate the email
truein case at least one email has been sent
EmailEventException- is thrown in case of problems sending the email or getting the email server configuration
- See Also: