Cancel the current blocking client operation.
When the Cancel method is called, the blocking client operation will not immediately fail. An internal flag is set which causes the blocking operation to exit with an error. This means that the application cannot cancel an operation and immediately perform some other blocking function. Instead it must allow the calling stack to unwind, returning back to the blocking operation before making any further function calls.
InternetMail Class | SocketTools Namespace