SMTPResponse Class Reference
A SMTP response, as sent by the server.
More...
List of all members.
Detailed Description
A SMTP response, as sent by the server.
Member Function Documentation
Return the SMTP response code.
- Returns:
- response code
Return the last line in the response.
- Returns:
- last response line
Return the response line at the specified position.
- Parameters:
-
- Returns:
- line at the specified index
| unsigned int getLineCount |
( |
|
) |
const |
Return the number of lines in the response.
- Returns:
- number of lines in the response
| const string getText |
( |
|
) |
const |
Return the SMTP response text.
The text of each line is concatenated.
- Returns:
- response text
Receive and parse a new SMTP response from the specified socket.
- Parameters:
-
| sok | socket from which to read |
| toh | time-out handler |
- Returns:
- SMTP response
- Exceptions:
-
The documentation for this class was generated from the following files: