Download MCM4XB Reference Manual - MarshallSoft Computing
Transcript
2.27 XmcmSmtpClose: Close SMTP server connection. SYNTAX Code = XmcmSmtpClose() REMARKS The XmcmSmtpClose function closes all SMTP channels, and will not return until all channels are closed. Before calling XmcmSmtpClose, the Code = XmcmGetInteger(MCM_GET_CHANNEL_STATUS) should be called repeatedly until it returns 0, indicating that all channels have finished sending. See the SendMail example program. RETURNS < 0 : Error (see Section 3.0 MCM Error List) >= 0 : No error. EXAMPLE CODE * close all connections to SMTP server XmcmSmtpClose() EXAMPLE PROGRAMS SendMail ALSO SEE XmcmPop3Close 32