ActiveReports 11 Server User Guide
SendReportEmail Method

ActiveReports.Server.ReportControls Assembly > ActiveReports.Server.ReportServices.Servicing Namespace > IReportService Interface : SendReportEmail Method
The security token to use.
The report description.
The options for rendering.
The options to use in creating the email to send the report. You can choose whether to send the report as an attachment or a link, create a template for the attachment or a base URI for the link, add text for the email content and subject line, and set the recipients for the email. See EMailDistribution for details.
Renders and send via email the report specified by a report description according to the specified options.
Syntax
'Declaration
 
Function SendReportEmail( _
   ByVal token As String, _
   ByVal description As ReportDescription, _
   ByVal options As RenderOptions, _
   ByVal distribution As EMailDistribution _
) As Result

Parameters

token
The security token to use.
description
The report description.
options
The options for rendering.
distribution
The options to use in creating the email to send the report. You can choose whether to send the report as an attachment or a link, create a template for the attachment or a base URI for the link, add text for the email content and subject line, and set the recipients for the email. See EMailDistribution for details.

Return Value

Object containing errors.
See Also

Reference

IReportService Interface
IReportService Members