xp_stopmail

Description

(Windows only) Stops an Adaptive Server mail session.

Syntax

xp_stopmail

Parameters

None

Examples

Example 1

Stops an Adaptive Server mail session:

xp_stopmail

Usage

Sybmail-related system ESPs and the sp_processmail stored procedure cannot be executed after an Adaptive Server mail session has been terminated with xp_stopmail.

Permissions

By default, only a System Administrator can execute xp_stopmail. A System Administrator can grant this permission to other users.