ec_mailq_insert_active — Insert a message into the active queue
void **ec_mailq_insert_active** ( | mq, | |
| | message
); | |
Insert a message into the active queue. The location of the message in the active queue is determined by its
next_attempt time (as set by the ec_message_set_next_attempt function).
The message must not be in any other Momentum queue when this function is called. Once this function returns, it takes responsibility for the
ec_message passed in.
A pointer to a mail queue. The mail_queue struct is defined at “mail_queue”.
Mail queues are typically determined by looking at the domain record.
A pointer to an ec_message struct. For documentation of this data structure see “ec_message”.
This function returns void.
It is legal to call this function in the