Skip to main content

Name

ec_mailq_message_requeue — Re-enqueues a message after a delivery attempt

Synopsis

#include "mail_queue.h"

| void **ec_mailq_message_requeue** ( | message, |   | |   | now); |   |

ec_message * <var class="pdparam">message</var>; struct timeval * <var class="pdparam">now</var>;

Description

Re-enqueues a message after a delivery attempt.

Note

The domain to which the message is to be requeued to must be assigned to the message prior to calling this function. Such assignment may happen with ec_message_assign_domain or ec_message_assign_domain_by_name.

Once this function returns, it takes responsibility for the ec_message passed in.

Parameters

message

An ec_message struct. For the definition of this data structure see “ec_message”.

now

A struct timeval.

Return Values

This function returns void.

Threading

It is legal to call this function in the Scheduler thread.

See Also

Was this page helpful?