public class SmtpConnection extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
| 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
IOExceptionpublic void send(String line)
public BufferedReader getReader()
public String receiveLine() throws IOException
IOExceptionpublic String getClientAddress()
public InetAddress getServerAddress()
public String getServerGreetingsName()
public String getHeloName()
public void setHeloName(String n)
public void quit()
Copyright © 2006-2014 Icegreen Technologies. All Rights Reserved.