smtp-client
SMTP Client C Library
|
#include <smtp.h>
Data Fields | |
enum smtp_result_code | code |
int | more |
const char * | text |
Used for parsing out the responses from the SMTP server.
For example, if the server sends back '250-STARTTLS', then code would get set to 250, more would get set to 1, and text would get set to STARTTLS.
enum smtp_result_code smtp_command::code |
Result code converted to an integer.
Definition at line 531 of file smtp.h.
Referenced by smtp_parse_cmd_line(), smtp_read_and_parse_code(), and smtp_unit_test_parse_cmd_line().
int smtp_command::more |
Indicates if more server commands follow.
This will get set to 1 if the fourth character in the response line contains a '-', otherwise this will get set to 0.
Definition at line 539 of file smtp.h.
Referenced by smtp_parse_cmd_line(), smtp_read_and_parse_code(), and smtp_unit_test_parse_cmd_line().
const char* smtp_command::text |
The text shown after the status code.
Definition at line 544 of file smtp.h.
Referenced by smtp_auth_cram_md5(), smtp_parse_cmd_line(), and smtp_unit_test_parse_cmd_line().