public class EmailService extends Object
| Constructor and Description |
|---|
EmailService() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
getEmailSettings(String contextId) |
org.springframework.mail.javamail.JavaMailSender |
getSender(String contextId) |
void |
sendEmail(org.craftercms.profile.api.Profile toSend,
StringWriter writer,
String subject,
String contextId) |
void |
setContextPreferences(ContextPreferencesService contextPreferences) |
void |
setEmailConfigCache(net.sf.ehcache.Ehcache emailConfigCache) |
void |
updateContextEmailCache(String contextId) |
public void sendEmail(org.craftercms.profile.api.Profile toSend,
StringWriter writer,
String subject,
String contextId)
throws SocialException
SocialExceptionpublic void updateContextEmailCache(String contextId) throws SocialException
SocialExceptionprotected Map<String,Object> getEmailSettings(String contextId) throws SocialException
SocialExceptionpublic org.springframework.mail.javamail.JavaMailSender getSender(String contextId) throws SocialException
SocialExceptionpublic void setEmailConfigCache(net.sf.ehcache.Ehcache emailConfigCache)
public void setContextPreferences(ContextPreferencesService contextPreferences)
Copyright © 2019 CrafterCMS. All Rights Reserved.