Sends the mail message using a user-defined mail header. The mail body is generated randomly using ASCII 128 characters.
WebAPI.bdh
WebSmtpData(in hSmtp : number, in sMailHeader : string, in nMailBodySize : 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 |
sMailHeader | A CRLF-terminated string defining sender, recipient, subject and more. Sample: "To: <jim@mailprovider.com>\r\nFrom: tom<tom@mailprovider.com>" |
nMailBodySize | Specifies the number of characters randomly generated |