Validation Context Functions

March 26, 2020 Contributors
Name Description
validate_context_add_rcpt Function to append an addr to the list
validate_context_can_modify_rcpts Function to check if it is still ok to change rcpts list
validate_context_delete Remove the specified key from either the message context or connection context
validate_context_destroy Release resources associated with this validation context dictionary
validate_context_exists Determine if the specified validation context key exists
validate_context_exists_and_get If a validation context key exists, then retrieve its value
validate_context_find_message_construct Find the specified message construct.
validate_context_get Retrieve the value associated with a message context key or connection context key
validate_context_init Allocate resources for a validation context dictionary
validate_context_iterate_rcpt Function to iterate through recipient list
validate_context_remove_all_rcpts Function to remove all addr from recipient list
validate_context_remove_rcpt Function to remove addr from recipient list
validate_context_set Create or set a validation context keypair determined by key
validate_context_set_code Set the SMTP response code and message for the session

For a discussion of validation context variables see Validation Context Variables.