org.mmbase.applications.email
Class AbstractSendMail
java.lang.Object
org.mmbase.util.functions.FunctionProvider
org.mmbase.module.Module
org.mmbase.applications.email.AbstractSendMail
- All Implemented Interfaces:
- SendMailInterface, SendMailInterface
- Direct Known Subclasses:
- SendMail
- public abstract class AbstractSendMail
- extends Module
- implements SendMailInterface
This module provides mail functionality
- Author:
- Michiel Meeuwissen
- Class for Application :
- Mail
| Methods inherited from class org.mmbase.module.Module |
getInitParameter, getInitParameters, getMaintainer, getModule, getModule, getModuleInfo, getModuleLoader, getModuleReader, getModules, getName, getProperties, getProperty, getVersion, hasStarted, init, maintainance, setInitParameter, setMaintainer, setName, setVersion, shutdown, shutdownModules, startModule, startModules, state |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSendMail
public AbstractSendMail()
onload
public void onload()
- Description copied from class:
Module
- prepares the module when loaded.
Onload must be overridden to execute methods that need to be performed when the module
is loaded but before any other modules are initailized.
This method is called by Module.startModules(). You should not call onload() directly.
- Overrides:
onload in class Module
sendMail
public boolean sendMail(String from,
String to,
String data)
- Send mail without extra headers
- Specified by:
sendMail in interface SendMailInterface
sendMail
public boolean sendMail(Mail mail)
- Send mail
- Specified by:
sendMail in interface SendMailInterface
verify
public String verify(String name)
- checks the e-mail address
- Specified by:
verify in interface SendMailInterface
expand
public List expand(String name)
- gives all the members of a mailinglist
- Specified by:
expand in interface SendMailInterface
MMBase build 1.8.1.20060716