Retrieves an SMTP response message after sending a command using WebTcpipSend.
WebAPI.bdh
WebSmtpResponse( in hSmtp : number, out sResponse : string, in nMaxResponse : number, out nReplyCode : number): boolean;
true if the server responded with a positive return code
false otherwise
Parameter | Description |
---|---|
hSmtp | Handle to a Web connection that was created by WebSmtpConnect |
sResponse | Buffer that receives the mail server’s response message |
nMaxResponse | Size of the response buffer. Specify STRING_COMPLETE to get all received data. |
nReplyCode | Parameter that receives the mail server’s reply code |