ec_message_get_code
Name
ec_message_get_code — Fetches the code set for the message
Synopsis
#include "ec_message.h"
| const char * **ec_message_get_code** (
| mess)
; | |
ec_message * <var class="pdparam">mess</var>
;
Description
Returns the SMTP status code set for the message. This status code is updated after a delivery attempt with the SMTP status returned by the remote MX server.
- mess
-
A pointer to an ec_message struct. For documentation of this data structure see “ec_message”
Returns a read-only pointer to the SMTP status code of the message. This may be NULL, indicating that no code has been set.
It is legal to call this function in any thread.