smtp_error_classify
Last updated March 2020
Name
smtp_error_classify — Classify the response code given in response to an SMTP command
Synopsis
#include "misc/smtp_error_classify.h"
| int **smtp_error_classify** (
| response, | |
| | domain, | |
| | mid)
; | |
const char * <var class="pdparam">response</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.
This is identical to calling smtp_error_classify_len.
- response
-
The buffer to parse.
- domain
-
The domain the message is being sent to (for improved accuracy).
- mid
-
Unused and may be NULL.
This function returns the smtp classification id.
It is legal to call this function in any thread.
See Also
Was this page helpful?