com.dumbster.smtp
public class SmtpMessage extends Object
Constructor Summary | |
---|---|
SmtpMessage()
Constructor. |
Method Summary | |
---|---|
String | getBody()
Get the message body. |
Iterator | getHeaderNames()
Get an Iterator over the header names. |
String | getHeaderValue(String name)
Get the first values associated with a given header name. |
String[] | getHeaderValues(String name)
Get the value(s) associated with the given header name. |
void | store(SmtpResponse response, String params)
Update the headers or body depending on the SmtpResponse object and line of input. |
String | toString()
String representation of the SmtpMessage. |
Returns: message body
Returns: an Iterator over the set of header names (String)
Parameters: name header name
Returns: first value associated with the header name
Parameters: name header name
Returns: value(s) associated with the header name
Parameters: response SmtpResponse object params remainder of input line after SMTP command has been removed
Returns: a String