mailpuccino
Class SMTPServer

java.lang.Object
  extended bymailpuccino.SMTPServer

public class SMTPServer
extends java.lang.Object


Field Summary
(package private)  java.lang.String LastReply
           
(package private)  MonitoredOutputStream OutputStreamMonitor
           
(package private)  java.net.Socket Server
           
(package private)  java.io.BufferedWriter ServerOutputStream
           
(package private)  java.io.BufferedReader ServerResponseStream
           
 
Constructor Summary
SMTPServer()
           
 
Method Summary
 void connect()
           
 void disconnect()
           
 int getPort()
           
(package private)  java.lang.String getResponse()
           
 java.lang.String getServerName()
           
(package private)  int sendCommand(java.lang.String CommandString)
           
 void sendEmail(SendMailProcess.QueueItem SendItem, java.lang.String RawMessage)
           
(package private)  int sendRawMessage(java.lang.String Data, CommStatusListener Status)
           
(package private)  void walkAddressList(AddressList Target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LastReply

java.lang.String LastReply

Server

java.net.Socket Server

ServerResponseStream

java.io.BufferedReader ServerResponseStream

ServerOutputStream

java.io.BufferedWriter ServerOutputStream

OutputStreamMonitor

MonitoredOutputStream OutputStreamMonitor
Constructor Detail

SMTPServer

public SMTPServer()
Method Detail

getServerName

public java.lang.String getServerName()

getPort

public int getPort()

sendEmail

public void sendEmail(SendMailProcess.QueueItem SendItem,
                      java.lang.String RawMessage)
               throws java.io.IOException,
                      SMTPException
Throws:
java.io.IOException
SMTPException

walkAddressList

void walkAddressList(AddressList Target)
               throws java.io.IOException,
                      SMTPException
Throws:
java.io.IOException
SMTPException

connect

public void connect()
             throws java.io.IOException,
                    SMTPException
Throws:
java.io.IOException
SMTPException

disconnect

public void disconnect()

sendCommand

int sendCommand(java.lang.String CommandString)
          throws java.io.IOException,
                 SMTPException
Throws:
java.io.IOException
SMTPException

sendRawMessage

int sendRawMessage(java.lang.String Data,
                   CommStatusListener Status)
             throws java.io.IOException,
                    SMTPException
Throws:
java.io.IOException
SMTPException

getResponse

java.lang.String getResponse()
                       throws java.io.IOException
Throws:
java.io.IOException