org.mmbase.module.smtp
Class VerifyEmailMailHandler

java.lang.Object
  extended by org.mmbase.module.smtp.VerifyEmailMailHandler
All Implemented Interfaces:
MailHandler

public class VerifyEmailMailHandler
extends Object
implements MailHandler

This MailHandler explores the Message to see if it just a response to an email verification, and if so, handles it. Otherwise ignores the message. This Handler can be put in front of the ChainedMailHandler.

Version:
$Id: VerifyEmailMailHandler.java 35335 2009-05-21 08:14:41Z michiel $

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.mmbase.module.smtp.MailHandler
MailHandler.Address, MailHandler.Factory, MailHandler.MailBoxStatus, MailHandler.MessageStatus
 
Constructor Summary
VerifyEmailMailHandler()
           
 
Method Summary
 MailHandler.MailBoxStatus addMailbox(String user, String domain)
           
 void clearMailboxes()
           
 MailHandler.MessageStatus handleMessage(Message message)
           
static void main(String[] argv)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerifyEmailMailHandler

public VerifyEmailMailHandler()
Method Detail

handleMessage

public MailHandler.MessageStatus handleMessage(Message message)
Specified by:
handleMessage in interface MailHandler

addMailbox

public MailHandler.MailBoxStatus addMailbox(String user,
                                            String domain)
Specified by:
addMailbox in interface MailHandler

clearMailboxes

public void clearMailboxes()
Specified by:
clearMailboxes in interface MailHandler

size

public int size()
Specified by:
size in interface MailHandler

main

public static void main(String[] argv)


MMBase 2.0-SNAPSHOT - null