com.antiaction.mayhem.mail
Class SMTPSpoolMessage

java.lang.Object
  extended by com.antiaction.mayhem.mail.SMTPSpoolMessage
All Implemented Interfaces:
ISMTPSpoolMessage

public class SMTPSpoolMessage
extends java.lang.Object
implements ISMTPSpoolMessage

SMTP Message.

Version:
1.00
Author:
Nicholas Clarke

Method Summary
 void accept()
           
 java.util.List getDeliverList()
           
 java.io.File getFile()
           
 java.lang.String getFrom()
           
 java.io.InputStream getInputStream()
           
 java.lang.String getMessageId()
           
 java.io.OutputStream getOutputStream()
           
 java.util.List getRelayList()
           
 java.lang.String getRemoteId()
           
 java.lang.String getRemoteIp()
           
 void reject()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMessageId

public java.lang.String getMessageId()
Specified by:
getMessageId in interface ISMTPSpoolMessage

getRemoteId

public java.lang.String getRemoteId()
Specified by:
getRemoteId in interface ISMTPSpoolMessage

getRemoteIp

public java.lang.String getRemoteIp()
Specified by:
getRemoteIp in interface ISMTPSpoolMessage

getFrom

public java.lang.String getFrom()
Specified by:
getFrom in interface ISMTPSpoolMessage

getDeliverList

public java.util.List getDeliverList()
Specified by:
getDeliverList in interface ISMTPSpoolMessage

getRelayList

public java.util.List getRelayList()
Specified by:
getRelayList in interface ISMTPSpoolMessage

getOutputStream

public java.io.OutputStream getOutputStream()
Specified by:
getOutputStream in interface ISMTPSpoolMessage

accept

public void accept()
            throws java.io.IOException
Specified by:
accept in interface ISMTPSpoolMessage
Throws:
java.io.IOException

reject

public void reject()
            throws java.io.IOException
Specified by:
reject in interface ISMTPSpoolMessage
Throws:
java.io.IOException

getFile

public java.io.File getFile()
Specified by:
getFile in interface ISMTPSpoolMessage

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.FileNotFoundException
Specified by:
getInputStream in interface ISMTPSpoolMessage
Throws:
java.io.FileNotFoundException


Copyright © 2001-2004 Nicholas Clarke. All Rights Reserved.