Class SmtpConnection

java.lang.Object
com.icegreen.greenmail.smtp.SmtpConnection

public class SmtpConnection extends Object
  • Constructor Details

    • SmtpConnection

      public SmtpConnection(com.icegreen.greenmail.smtp.SmtpHandler handler, Socket sock) throws IOException
      Throws:
      IOException
  • Method Details

    • 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()