smtp_error_classify_len
Name
smtp_error_classify_len — Classify the response code given in response to an SMTP command
Synopsis
#include "misc/smtp_error_classify.h"
| int **smtp_error_classify_len** (
| response, | |
| | len, | |
| | domain, | |
| | mid)
; | |
const char * <var class="pdparam">response</var>
;
int <var class="pdparam">len</var>
;
const char * <var class="pdparam">domain</var>
;
message_id * <var class="pdparam">mid</var>
;
Description
Classify the response code given in response to an SMTP command.
- response
-
The buffer to parse, must be
NUL
terminated even though there is a len parameter. - len
-
The length of the buffer to parse.
- domain
-
The domain the message is being sent to (for improved accuracy).
- mid
-
Unused and may be NULL.
The SMTP classification id.
It is legal to call this function in any thread.