ePOST API

rice.email.proxy.smtp.client
Class SmtpClient

java.lang.Object
  extended by rice.email.proxy.smtp.client.SmtpClient

public class SmtpClient
extends java.lang.Object


Field Summary
protected  Logger logger
           
 
Constructor Summary
SmtpClient(java.lang.String host, Environment env)
           
 
Method Summary
 void close()
           
 void connect()
           
 void send(java.lang.String returnPath, java.lang.String rcptTo, java.io.Reader message)
           
 void send(java.lang.String returnPath, java.lang.String rcptTo, java.io.Reader message, java.lang.String username, java.lang.String password)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected Logger logger
Constructor Detail

SmtpClient

public SmtpClient(java.lang.String host,
                  Environment env)
Method Detail

connect

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

send

public void send(java.lang.String returnPath,
                 java.lang.String rcptTo,
                 java.io.Reader message)
          throws java.io.IOException,
                 SmtpProtocolException
Throws:
java.io.IOException
SmtpProtocolException

send

public void send(java.lang.String returnPath,
                 java.lang.String rcptTo,
                 java.io.Reader message,
                 java.lang.String username,
                 java.lang.String password)
          throws java.io.IOException,
                 SmtpProtocolException
Throws:
java.io.IOException
SmtpProtocolException

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException

ePOST API

Copyright © 2001-2005 - Rice Pastry.