rice.email.proxy.smtp.client
Class SmtpClient
java.lang.Object
rice.email.proxy.smtp.client.SmtpClient
-
public class SmtpClient
- extends java.lang.Object
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 |
logger
protected Logger logger
SmtpClient
public SmtpClient(java.lang.String host,
Environment env)
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
Copyright © 2001-2005 - Rice Pastry.