New to Telerik Reporting? Download free 30-day trial
HTML5-based report viewers provides the capability to send the current report in the specified document format with an e-mail message.
By default the send mail message button is hidden. This is because the Implement Send Mail Message. Once ready, the send mail message toolbar button can be enabled with the a viewer SendEmail initialization option. For more information see: Report Viewer Initialization(or the respective method for ServiceStack, ASP.NET Core, etc.) should be implemented first, so that the e-mail messages can be send server-side. Web browser (JS client) cannot initiate sending of e-mail messages containing attachments as a security measure. More info on actually implementing the necessary server-side code is available at
Please note that Angular Report Viewer requires setting the templateUrl option to an HTML template specifically designed for send mail message functionality to work properly, i.e. telerikReportViewerTemplate-ng.html which comes from node_modules/@progress/telerik-angular-report-viewer/dist/dependencies/telerikReportViewerTemplate-ng.html.
The Send Mail Message dialog is a Kendo Window Widget, that stays on top of the report viewer. Since it's not modal, the viewer remains fully functional even when this dialog is shown. The dialog can be closed with the close button in the top right corner or using the Send Mail Message button on the toolbar.
The dialog consists of the following components:
From input (Required) - E-mail address used for the MailMessage FROM value.
To input (Required) - E-mail address used for the MailMessage TO value.
CC input (Optional) - E-mail address used for the MailMessage CC value.
Subject input (Optional) - The MailMessage subject
Body input (Optional) - The MailMessage body