C
enum { PUTHEADERS_FROM_INIT = 0, PUTHEADERS_FROM, PUTHEADERS_TO_INIT, PUTHEADERS_TO, PUTHEADERS_CC_INIT, PUTHEADERS_CC, PUTHEADERS_SUBJECT_INIT, PUTHEADERS_SUBJECT, PUTHEADERS_OTHER_INIT, PUTHEADERS_OTHER, PUTHEADERS_DONE } PutHeadersState;
Description
State machine for writing the SMTP message headers
Members
Members |
Description |
PUTHEADERS_FROM_INIT = 0 |
Preparing to send From header |
PUTHEADERS_FROM |
Sending From header |
PUTHEADERS_TO_INIT |
Preparing to send To header |
PUTHEADERS_TO |
Sending To header |
PUTHEADERS_CC_INIT |
Preparing to send CC header |
PUTHEADERS_CC |
Sending CC header |
PUTHEADERS_SUBJECT_INIT |
Preparing to send Subject header |
PUTHEADERS_SUBJECT |
Sending Subject header |
PUTHEADERS_OTHER_INIT |
Preparing to send additional headers |
PUTHEADERS_OTHER |
Sending additional headers |
PUTHEADERS_DONE |
Done writing all headers |