WebSmtpSendAndMail Function

Action

Initiates a mail transaction.

Include file

WebAPI.bdh

Syntax

WebSmtpSendAndMail(in hSmtp        : number,
                   in sReversePath : string): boolean;

Return value

  • 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
sReversePath E-mail address the reply should be sent to. Sample: "<returnaddress@mailprovider.com>"