Send e-mail

The Reporting Server can send the created report by e-mail.

Configuration of the Reporting Server.

1. Open the EmailConfiguration.json in C:\Program Files (x86)\Beckhoff\TwinCAT\Functions\Reporting-Server\Configuration\EmailConfiguration
2. Configure an SMTP server and the Http proxy if required in your network.
3. Save the new configuration.
4. Restart the Reporting Server.
(PowerShell: "Restart-Service -Name TcReportingServer")
The Reporting Server can now communicate with your e-mail server via SMTP.

Server Extension configuration.

1. Open the configuration page.
2. Go to the configuration of TcHmiReporting.
3. Open the path. If not available, create the path Runtimes/{Runtimename}/Configurations/{Configuration name}/Locations/E-Mail.
4. Click Add to create a new configuration and enter the following values:
Address: Specify the email addresses of the recipients.
Use BCC: Specify whether the recipients defined in Address should be entered as BCC.
Text: Specify the email text.
Format: Specify the format in which the generated files are to be attached to the email.
The configuration is now complete.
Send e-mail 1:
5. Switch to the User-defined configuration tab.
6. Create a new report.
The report with the corresponding attachments should now have been sent by email to the addresses entered.