Skip to main content

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

Was this page helpful?