smtp_error_register_class

March 26, 2020 Contributors

Name

smtp_error_register_class — Register a user-defined SMTP error class

Synopsis

#include "misc/smtp_error_classify.h"

| void **smtp_error_register_class** ( | class_code, |   |
|   | name, |   |
|   | desc); |   |

unsigned short <var class="pdparam">class_code</var>;
const char * <var class="pdparam">name</var>;
const char * <var class="pdparam">desc</var>;

Description

Register a user-defined SMTP error class.

This is similar to the functionality provided by the bounce_classifier_override Module.

Parameters

class_code

The code you want to assign to your new class.

name

The short name of your new class.

desc

A more verbose description of the class.

Return Values

This function returns void.

Threading

It is legal to call this function in any thread.

See Also

SMTP-related Functions