FunctionPrototypes:ttSmtpAsyncCbFuncPtr
Table of Contents >> Optional Protocols >> SMTP
| void ttSmtpAsyncCbFuncPtr | ( |
| ttSmtpClientHandle smtpClientHandle, | |
| void TM_FAR * userPtr, | |
| int event | |
| ); |
Function Description
This user-defined function is called by the stack when an SMTP asynchronous event (e.g. socket event) occurs. Register your callback with an SMTP session handle by calling tfSmtpUserSetAsyncCB(). Use this callback to alert your non-blocking SMTP client code that tfSmtpUserExecute() needs to be called.
Parameters
- smtpClientHandle
- The SMTP client session handle used in the tfSmtpUserSetAsyncCB() call.
- userPtr
- The user-defined pointer as set by tfSmtpUserSetPointer().
- event
- Currently unused. Reserved for future expansion.