Class SmtpConnection


  • public class SmtpConnection
    extends java.lang.Object
    • Constructor Detail

      • SmtpConnection

        public SmtpConnection​(com.icegreen.greenmail.smtp.SmtpHandler handler,
                              java.net.Socket sock)
                       throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • println

        public void println​(java.lang.String line)
      • getReader

        public java.io.BufferedReader getReader()
      • readLine

        public java.lang.String readLine()
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • getClientAddress

        public java.lang.String getClientAddress()
      • getServerAddress

        public java.net.InetAddress getServerAddress()
      • getServerGreetingsName

        public java.lang.String getServerGreetingsName()
      • getHeloName

        public java.lang.String getHeloName()
      • setHeloName

        public void setHeloName​(java.lang.String n)
      • quit

        public void quit()