IAdmReportDeliveryEmail
The IAdmReportDeliveryEmail interface is used to configure e-mail delivery of a report.
Inheritance: IUnknown
Properties
-
Property
-
Description
-
Enabled
-
Gets or sets a value indicating whether e-mail delivery of a report is enabled.
-
UseCustomSubjectAndBody
-
Gets or sets a value indicating whether custom subject and body are used for the e-mail.
-
CustomSubject
-
Gets or sets a custom email subject.
-
CustomBody
-
Gets or sets a custom e-mail body.
-
FormatAsHtml
-
Gets or sets a value indicating whether the e-mail body is in HTML format.
-
AttachFile
-
Gets or sets a value indicating whether to attach the report file to the e-mail.
-
ZipAttachedFile
-
Gets or sets a value indicating whether to compress the attached report file to ZIP.
-
IncludeFileLink
-
Gets or sets a value indicating whether a link to the report file is included into the e-mail body.
-
EmbedIntoEmailBody
-
Gets or sets a value indicating whether to embed the report document into the e-mail body.
Details
Enabled
Gets or sets a value indicating whether e-mail delivery of a report is enabled.
- Type:
- bool
- Access:
- Read/Write
UseCustomSubjectAndBody
Gets or sets a value indicating whether custom subject and body are used for the e-mail.
- Type:
- bool
- Access:
- Read/Write
CustomSubject
Gets or sets a custom email subject. You can use value references in the subject (e.g. %adm-ReportTitle%).
- Type:
- string
- Access:
- Read/Write
Remarks
This property is ignored if the UseCustomSubjectAndBody
property is set to false
.
CustomBody
Gets or sets a custom e-mail body. You can use value references in the e-mail body (e.g. %fullname%). Value references are replaced with corresponding property values of the recipient.
- Type:
- string
- Access:
- Read/Write
Remarks
This property is ignored if the UseCustomSubjectAndBody
property is set to false
.
FormatAsHtml
Gets or sets a value indicating whether the e-mail body is in HTML format.
- Type:
- bool
- Access:
- Read/Write
Remarks
If this property is set to false
, the e-mail is sent as plain text.
AttachFile
Gets or sets a value indicating whether to attach the report file to the e-mail.
- Type:
- bool
- Access:
- Read/Write
Remarks
This property is ignored if the IAdmReportDeliveryFile::Enabled property is set to false
.
ZipAttachedFile
Gets or sets a value indicating whether to compress the attached report file to ZIP.
- Type:
- bool
- Access:
- Read/Write
Remarks
This property is ignored if the AttachFile
property is set to false
.
IncludeFileLink
Gets or sets a value indicating whether a link to the report file is included into the e-mail body.
- Type:
- bool
- Access:
- Read/Write
Remarks
This property is ignored if at least one of the following conditions is met:
- The
UseCustomSubjectAndBody
property is set totrue
. - The IAdmReportDeliveryFile::Enabled property is set to
false
- The
EmbedIntoEmailBody
property is set totrue
.
EmbedIntoEmailBody
Gets or sets a value indicating whether to embed the report document into the e-mail body.
- Type:
- bool
- Access:
- Read/Write
Remarks
- This property is ignored if the
FormatAsHtml
property is set tofalse
or theUseCustomSubjectAndBody
property is set totrue
. - The property is ignored for types of report documents that cannot be embedded into the e-mail body.
Requirements
Minimum required version: 2018.1