org.mmbase.module
Class JMSendMail

java.lang.Object
  |
  +--org.mmbase.module.Module
        |
        +--org.mmbase.module.AbstractSendMail
              |
              +--org.mmbase.module.JMSendMail
All Implemented Interfaces:
SendMailInterface

public class JMSendMail
extends AbstractSendMail

Module providing mail functionality based on JavaMail, mail-resources.

Since:
MMBase-1.6
Author:
Case Roole, Michiel Meeuwissen

Constructor Summary
JMSendMail()
           
 
Method Summary
 java.lang.String getModuleInfo()
          provide some info on the module
 void init()
          Initializes the module.
 void reload()
           
 boolean sendMail(java.lang.String from, java.lang.String to, java.lang.String data, java.util.Map headers)
          Send mail with headers
 
Methods inherited from class org.mmbase.module.AbstractSendMail
expand, onload, sendMail, sendMail, verify
 
Methods inherited from class org.mmbase.module.Module
getClassName, getInitParameter, getInitParameters, getMaintainer, getMimeType, getMimeTypeFile, getModule, getModule, getModules, getName, getProperties, getProperty, getVersion, hasStarted, loadModulesFromDisk, maintainance, setClassName, 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
 

Constructor Detail

JMSendMail

public JMSendMail()
Method Detail

reload

public void reload()

init

public void init()
Description copied from class: Module
Initializes the module. Init can be overridden to read the environment variables it needs.
This method is called by Module.startModule(), which makes sure it is not called more than once. You should not call init() directly, call startModule() instead.
Overrides:
init in class Module

sendMail

public boolean sendMail(java.lang.String from,
                        java.lang.String to,
                        java.lang.String data,
                        java.util.Map headers)
Send mail with headers

getModuleInfo

public java.lang.String getModuleInfo()
Description copied from class: Module
provide some info on the module
Overrides:
getModuleInfo in class Module


MMBase build 1.6.5.20030923