logo
small logo
  • Products
  • Buy
  • Support
  • Articles
  • Customer panel Support
    • en
    • ru
    • pt
    • es
    • de
    • pl
    • JP
    • ZH
  • Home
  • /
  • Articles
  • /
  • How to send reports on a schedule by email via FastReport.Desktop
  • How to install FastReport Desktop

    May 26, 2020

    This product is designed for generating reports by database administrators, as well as exporting them

    read more
  • How to make wedding invitations from Excel

    August 25, 2017

    Do you have a celebration on the occasion of the wedding? Do you need to

    read more
  • How to make lottery tickets by FastReport.Net

    August 23, 2017

    Suppose you decided to hold a lottery in the office and you have only FastReport.Net

    read more
  • How to make regular reports mailing using FR Desktop

    October 5, 2017

    Nowadays, users quite often face a task to form periodic reports, send them by e-mail

    read more
  • How to use Configurator in FastReport Desktop

    October 18, 2016

    In this article I want to consider working with the Configurator, one of the programs

    read more

How to send reports on a schedule by email via FastReport.Desktop

October 18, 2016

Often the company needs to generate periodic reports, send them to e-mail or save to a certain place. Having a report generator, it's easy to do. However, you need to create an application that will work with the report generator. This requires some programming skills and experience with the programming environment. But what if you don't have this experience, or don't want to purchase an expensive development environment license?

FastReport.Desktop allows you to solve these issues. This is a stand-alone software package that doesn't require the creation of a custom application. Accordingly, no programming skills are required. FastReport.Desktop allows you to: create reports, create them on a schedule, export the report to various formats, send a report by email, save reports on a local disk or on remote resources.

Let's look at this software package. It is represented by five parts:

- Designer – the program for creating report templates;

- Viewer – the program for viewing reports;

- Builder – console utility for report building;

- Configurator – the program for creating configuration files containing instructions for builder;

- Scheduler – task scheduler for reports.

On the diagram I will show the technological process of working with FastReport.Desktop:

So, we are faced with the task of organizing a daily report and sending it by e-mail.

1. From the diagram above it is clear that in the beginning it is necessary to create a report with the designer. To do this, run the appropriate program. I created a simple report of the Master-Detail type, which displays a list of categories of goods. This is what it looks like:

 

We save the report to the local disk.

2. Now you need to create a configuration file.

Run the Configurator:

Select the report file in the "Report" section by pressing the button.

Then in the "Export as" section: click the checkbox to enable export and select PDF export from the drop-down menu.
You can set the PDF file settings:

 

For example, the "Text in Curves" option. In this case, all the text in the report will be drawn with curves, which makes copying the text impossible. We proceed further.

The next step is to set up the email settings. The report file will be attached to the email.

Check the checkbox in the "Send e-mail" section.
You must fill out the settings of the outgoing e-mail server:

 

On the E-mail tab, fill in the email parameters:

 

This is the main form of the program that displays all the settings:

You need to save the configuration to the hard disk. By the way, the "Run" button allows you to run the configuration immediately. Close the program and proceed to create a task in the Scheduler.

3. Run the Scheduler:

The interface is simple and straightforward. Add a new task using the "Task" menu:

The form of creating a task is also intuitively clear:

The task name, configuration file, and trigger are specified. By default, the desired trigger is selected - "Every day". For this trigger, the date and time of operation, the frequency of the recurrence are specified.

A set of triggers covers all possible needs:

We press the button "Create". In the main form a new task has appeared:

So, we see that the task is enabled and the time of the last run is still empty. Well, wait a bit.

The task worked at a given time. A note about this appeared in the field "Last run time". Now, the report will be formed every day and sent at this time.
And now check the mailbox:

 

And we see a letter with our report in PDF format.
Convenient and simple.

about product download buy
avatar
Dmitriy Fedyashov
Head of QA
FastReport Desktop
Comments
Rodrigo Ritter
1553 days ago
Looking forward to this white paper!

Add comment
logo
  • 800-985-8986 (English, US)
  • +4930568373928 (German)
  • +55 19 98147-8148 (Portuguese)
  • info@fast-report.com
  • 901 N Pitt Str #325 Alexandria VA 22314
  • Buy
  • Download
  • Documentation
  • Testimonials
  • How to uninstall
  • Ticket system
  • FAQ
  • Tutorial Video
  • Forum
  • Articles
  • Our News
  • Press about us
  • Resellers
  • Our team
  • Contact us

© 1998-2021 by Fast Reports Inc.

  • Privacy Policy