Skip to content

Flow documentation · legacy product

SendEmailTo ​

Declaration ​

function SendEmailTo (aTo, aSubject, aMessage : string) : boolean;

Example ​

pascal
procedure OnMapEvent(var Value:Variant);
begin
if Data1.EOF then
SendEmailTo('testemail@flow.net.nz', 'End of Records', 'You are at the end of records in Data1 recordset');
end;

Description ​

Sends an email to the aTo email address. aSubject is the subject line while aMessage is the body of the email.

Multiple email addresses can be included in the aTo parameter by separating addresses with commas within the string.