C
WORD SMTPEndUsage();
Description
Call this function to release control of the SMTP client module once an application is finished using it. This function releases the lock obtained by SMTPBeginUsage, and frees the SMTP client to be used by another application.
Preconditions
SMTPBeginUsage returned TRUE on a previous call.
Return Values
Return Values |
Description |
A message was successfully sent | |
The SMTP server could not be resolved | |
The connection to the SMTP server failed or was prematurely terminated | |
1-199 and 300-399 |
The last SMTP server response code |