Share this page

# smtp_abort_mail_ex

Cancels a mail transaction for a session. Any stored sender, recipients, and mail data is discarded. All buffers and state tables cleared.

Simple Mail Transfer Vuser Functions (SMTP)

    int smtp_abort_mail_ex( SMTP *ppsmtp );

ppsmtp | A session identifier.

This function is for use with multiple sessions. For global sessions, use the smtp_abort_mail function, which leaves out the session identifier.

## Return Values

If this function succeeds, it returns LR_PASS. Otherwise, it returns LR_FAIL.

## Parameterization

Standard parameterization is not available for this function.

## Example

In the following example, the smtp_abort_mail_ex function cancels the current transaction.

Copy code

    smtp_abort_mail_ex(&ppsmtp);

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: