com.icegreen.greenmail.smtp
Class SmtpConnection
java.lang.Object
com.icegreen.greenmail.smtp.SmtpConnection
public class SmtpConnection
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SmtpConnection
public SmtpConnection(com.icegreen.greenmail.smtp.SmtpHandler handler,
Socket sock)
throws IOException
- Throws:
IOException
println
public void println(String line)
getReader
public BufferedReader getReader()
readLine
public String readLine()
throws IOException
- Throws:
IOException
getClientAddress
public String getClientAddress()
getServerAddress
public InetAddress getServerAddress()
getServerGreetingsName
public String getServerGreetingsName()
getHeloName
public String getHeloName()
setHeloName
public void setHeloName(String n)
quit
public void quit()