PDF filename send via email from PrintDialog

SeDSeD
edited 3:35PM in FastReport 4.0
I can't change default file name of PDF attachment sent with email.
When I select Export and option to send mail instead of Print from Print Dialog I want to set file name of PDF attachment depending on any my variable.
frxReport.FileName := 'MyFilename'
not works.

Comments

  • MrBluesMrBlues Germany
    edited 3:35PM
    Hallo,

    do not set the filename of the report. You have to set it to the PDF-Export object : frxPDFExport.Filename

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.