info.magnolia.module.mail
Class MailModule
java.lang.Object
info.magnolia.module.mail.MailModule
- All Implemented Interfaces:
- info.magnolia.module.ModuleLifecycle
public class MailModule
- extends Object
- implements info.magnolia.module.ModuleLifecycle
Mail module.
- Author:
- Nicolas Modrzyk
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MailModule
public MailModule()
getInstance
public static MailModule getInstance()
- Deprecated. since 4.5, use IoC !
getSmtp
public Map<String,String> getSmtp()
setSmtp
public void setSmtp(Map<String,String> smtp)
start
public void start(info.magnolia.module.ModuleLifecycleContext moduleLifecycleContext)
- Specified by:
start
in interface info.magnolia.module.ModuleLifecycle
stop
public void stop(info.magnolia.module.ModuleLifecycleContext moduleLifecycleContext)
- Specified by:
stop
in interface info.magnolia.module.ModuleLifecycle
getTemplatesConfiguration
public List<MailTemplate> getTemplatesConfiguration()
setTemplatesConfiguration
public void setTemplatesConfiguration(List<MailTemplate> templatesConfiguration)
addTemplatesConfiguration
public void addTemplatesConfiguration(MailTemplate mailTemplate)
getHandler
public MgnlMailHandler getHandler()
setHandler
public void setHandler(MgnlMailHandler handler)
getFactory
public MgnlMailFactory getFactory()
setFactory
public void setFactory(MgnlMailFactory factory)
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.