E-mail Chart Images

ESPL can control the e-mail form in Ensign Windows.    Use the global sList TStringlist variable to hold the message text.

mnuEmailImage.Click; will prepare the image file and open the e-mail form.

EmailForm(false,true,false,false); will set the states of the four Send To: check boxes, and send the e-mail.

Example:  

begin
  Chart('ES #F.2');                                {open a chart}
  mnuEmailImage.Click;                             {open e-mail form}
  sList.Clear;                                     {prepare message}
  sList.Add('This is a message from Ensign');
  sList.Add('');
  sList.Add('Please update the Playback files');
  EmailForm(false,true,false,false);               {send e-mail}
  mnuCloseWindow.Click;                            {close e-mail form}
end;