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
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–2017 Icegreen Technologies. All rights reserved.