SMTPEndUsage Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
SMTPEndUsage Function
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 
Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.