LetterSend

<sql

FUNCTION LetterSend (IN letter HANDLE) RETURNS INT;

Parameters

letter letter handle

Description

This function sends the letter of electronic mail with the mailing system selected in the profile when initializing the mail with the InitWBMail function, and frees the resources allocated when creating the letter. The letter handle is returned by the LetterCreate function.

The letter handle letter will get invalid after the function is terminated - you cannot send the letter again.

Function value

This function returns 0 if successful, the error number otherwise.

Example

Sending example

See