Closes the connection to the mail server.
WebAPI.bdh
WebSmtpShutdown( inout hSmtp : number, in nMode : number optional): boolean;
true if the connection could be closed successfully
false otherwise
Parameter | Description |
---|---|
hSmtp | Handle to a Web connection that was created by WebSmtpConnect |
nMode |
Determines the shutdown mode (optional). Any of the following options is possible:
|
dcltrans transaction TWebSmtp var hSmtp: number; begin WebSmtpConnect(hSmtp, "standardhost", WEB_PORT_SMTP); WebSmtpHello(hSmtp, "<MyDomain>"); WebSmtpQuit(hSmtp); WebSmtpShutdown(hSmtp); end TWebSmtp;
WebMulti01.bdf
eMail.sep