ec_log_attempt — Records an attempt to deliver a message
void **ec_log_attempt** ( | mess, | |
| | dr, | |
| | now, | |
| | note
); | |
Records an attempt to deliver a message.
A pointer to an ec_message struct. For documentation of this data structure see “ec_message”.
A pointer to a domain_record struct. For documentation of this data structure see “domain_record”.
A pointer to a timeval struct, which may be NULL.
**Configuration Change. ** Prior to version 3.0, NULL was not allowed.
Typical use is to pass
NULLto this parameter, in which case the string to log is pulled from the message construct. You may override this by passing your own Delivery Status Notification (DSN) to use for logging the delivery attempt.
This function returns void.