public class SmtpConnection extends Object
Constructor and Description |
---|
SmtpConnection(com.icegreen.greenmail.smtp.SmtpHandler handler,
Socket sock) |
Modifier and Type | Method and Description |
---|---|
String |
getClientAddress() |
String |
getHeloName() |
BufferedReader |
getReader() |
InetAddress |
getServerAddress() |
String |
getServerGreetingsName() |
void |
quit() |
String |
receiveLine() |
void |
send(String line) |
void |
setHeloName(String n) |
public SmtpConnection(com.icegreen.greenmail.smtp.SmtpHandler handler, Socket sock) throws IOException
IOException
public void send(String line)
public BufferedReader getReader()
public String receiveLine() throws IOException
IOException
public String getClientAddress()
public InetAddress getServerAddress()
public String getServerGreetingsName()
public String getHeloName()
public void setHeloName(String n)
public void quit()
Copyright © 2006–2018 Icegreen Technologies. All rights reserved.