org.mmbase.module
Class AbstractSendMail

java.lang.Object
  extended byorg.mmbase.module.Module
      extended byorg.mmbase.module.AbstractSendMail
All Implemented Interfaces:
SendMailInterface
Direct Known Subclasses:
JMSendMail, SendMail

public abstract class AbstractSendMail
extends Module
implements SendMailInterface

This module provides mail functionality

Author:
Michiel Meeuwissen

Constructor Summary
AbstractSendMail()
           
 
Method Summary
 java.util.List expand(java.lang.String name)
          gives all the members of a mailinglist
 void onload()
          prepares the module when loaded.
 boolean sendMail(Mail mail)
          Send mail
 boolean sendMail(java.lang.String from, java.lang.String to, java.lang.String data)
          Send mail without extra headers
 java.lang.String verify(java.lang.String name)
          checks the e-mail address
 
Methods inherited from class org.mmbase.module.Module
getInitParameter, getInitParameters, getMaintainer, getMimeType, getMimeTypeFile, getModule, getModule, getModuleInfo, getModules, getName, getProperties, getProperty, getVersion, hasStarted, init, loadModulesFromDisk, 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
 
Methods inherited from interface org.mmbase.module.SendMailInterface
sendMail
 

Constructor Detail

AbstractSendMail

public AbstractSendMail()
Method Detail

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.

Specified by:
onload in class Module

sendMail

public boolean sendMail(java.lang.String from,
                        java.lang.String to,
                        java.lang.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 java.lang.String verify(java.lang.String name)
checks the e-mail address

Specified by:
verify in interface SendMailInterface

expand

public java.util.List expand(java.lang.String name)
gives all the members of a mailinglist

Specified by:
expand in interface SendMailInterface


MMBase build 1.7.1.20041002