tfSmtpUserGetSessionOption
Table of Contents >> Optional Protocols >> SMTP
| #include <trsocket.h> |
| int tfSmtpUserGetSessionOption | ( |
| ttSmtpClientHandle smtpClientHandle, | |
| int optionName, | |
| ttUser32Bit * optionValuePtr | |
| ); |
Function Description
This function gets the SMTP session options.
Parameters
- smtpClientHandle
- The SMTP client session handle as returned by tfSmtpUserNewSession().
- optionName
- The name of the option to get. Valid options are:
- TM_SMTP_OPT_TIMEOUT
- optionValuePtr
- The value of the option to get.
Returns
- TM_ENOERROR
- Success.
- TM_EINVAL
- Invalid SMTP client session handle, option name or option value.