ec_log_delivery
Name
ec_log_delivery — Record Momentum deliveries
Synopsis
#include "log.h"
| void **ec_log_delivery** (
| message, | |
| | domain, | |
| | now, | |
| | notestr)
; | |
ec_message * <var class="pdparam">message</var>
;
domain_record * <var class="pdparam">domain</var>
;
struct timeval * <var class="pdparam">now</var>
;
const string * <var class="pdparam">notestr</var>
;
Description
This function records Momentum deliveries.
- message
-
A pointer to an ec_message struct. For documentation of this data structure see “ec_message”.
- domain
-
A pointer to a domain_record struct. For documentation of this data structure see “domain_record”.
- now
-
A pointer to a timeval struct, which may be NULL.
- notestr
-
Typical use is to pass
NULL
to 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.
It is legal to call this function in any thread.