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.
smtp_abort_mail_ex(&ppsmtp);

