sieve_set_response

March 26, 2020 Contributors

Name

sieve_set_response — Set an SMTP response

Synopsis

#include "sieve/ecsieve.h"

| void **sieve_set_response** ( | seng, |   |
|   | smtp_code, |   |
|   | reason, |   |
|   | reasonlen); |   |

SENG * <var class="pdparam">seng</var>;
int <var class="pdparam">smtp_code</var>;
const char * <var class="pdparam">reason</var>;
int <var class="pdparam">reasonlen</var>;

Description

Set an SMTP response.

Parameters

seng

The Sieve engine state.

smtp_code

The SMTP response code.

reason

The reason associated with the code.

reasonlen

The length of the reason parameter.

Return Values

This function returns void.

Threading

It is legal to call this function in any thread.

See Also

Section 68.73, “SENG (sieve_engine)”