tfSmtpUserGetPointer

Jump to: navigation, search

Table of Contents >> Optional Protocols >> SMTP


#include <trsocket.h>


void TM_FAR * tfSmtpUserGetPointer (ttSmtpClientHandle smtpClientHandle);


Function Description

This function retrieves the data pointer that was set via tfSmtpUserSetPointer(). This function can safely be called from an asynchronous SMTP event callback function.


Parameters


Returns

  • !NULL
    User's data pointer.
  • NULL
    Invalid SMTP client session handle or no data pointer was set on the SMTP handle.


Table of Contents >> Optional Protocols >> SMTP