validate_context_remove_rcpt

March 26, 2020 Contributors

Name

validate_context_remove_rcpt — Function to remove addr from recipient list

Synopsis

#include "validate.h"

| int **validate_context_remove_rcpt** ( | ctx, |   |
|   | addr); |   |

validate_context * <var class="pdparam">ctx</var>;
const char * <var class="pdparam">addr</var>;

Description

Note

This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

Function to remove addr from recipient list.

Parameters

ctx
  • validation context.
addr
  • an address to be removed from recipient list.

Return Values

the old position of addr in the recipient list. Return -1 is addr is not found.

**Configuration Change. ** This feature is available starting from Momentum 3.1.