multiple attachments in e-mail export

adeheeradeheer The Netherlands
edited 11:29AM in FastReport 4.0
Hi,

I see that's it's possible to attach more then one file to an email but I can't find it anywhere.
I have an invoice and by new law the general terms ans conditions must be attached with it.

Anyone here tell me how??

Comments

  • gpigpi
    edited 11:29AM
    You may add files in the TfrxMailExport.OnSendMail event
    function TForm1.frxMailExport1SendMail(const Server: string;
      const Port: Integer; const UserField, PasswordField: string; FromField,
      ToField, SubjectField, CompanyField, TextField: WideString;
      FileNames: TStringList; Timeout: Integer; ConfurmReading: Boolean; MailCc,
      MailBcc: WideString): string;
    begin
       FileNames.Add('C:\_Work\test1.fr3=test1.fr3');
       Result := 'OK';
    end;
    

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.