@Component(value="MailService") @Secured(value={"ROLE_ANONYMOUS","ROLE_USER","ROLE_ADMIN"}) public final class EmailServiceImpl extends Object implements EmailService
Constructor and Description |
---|
EmailServiceImpl()
Instantiates a new email service impl.
|
Modifier and Type | Method and Description |
---|---|
void |
initSettings()
Inits the settings.
|
void |
sendEmail(String toEmail,
String subject,
String content)
Send email.
|
public EmailServiceImpl()
@PostConstruct public void initSettings()
public void sendEmail(String toEmail, String subject, String content)
EmailService
sendEmail
in interface EmailService
toEmail
- the to emailsubject
- the subjectcontent
- the contentCopyright © 2010–2017 www.hack23.com. All rights reserved.