com.jxml.qare.qhome
Class MailSender

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--com.jxml.qare.qhome.MailSender
All Implemented Interfaces:
Runnable

public class MailSender
extends Thread

This class is used for reading and sending mail


Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
MailSender()
           
 
Method Summary
 void mailSend(DBPendingMessage.Row pm)
          Sends mail.
 void run()
          Pops mail from the inbox.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MailSender

public MailSender()
Method Detail

run

public void run()
Pops mail from the inbox.
Overrides:
run in class Thread

mailSend

public void mailSend(DBPendingMessage.Row pm)
              throws Exception
Sends mail.