Job..::..Email Method

Emails the specified report definition.

Namespace:  JiwaFinancials.Jiwa.JiwaServiceManager
Assembly:  JiwaServiceManager (in JiwaServiceManager.dll)

Syntax


public void Email(
	ReportDefinition ReportDefinition,
	string NameToGiveAttachment,
	string EmailFrom,
	string EmailTo,
	bool RequestReadReceipt,
	string Subject,
	string CC,
	string BCC,
	string Message,
	ExportFormatType ExportFormatType
)
Public Sub Email ( _
	ReportDefinition As ReportDefinition, _
	NameToGiveAttachment As String, _
	EmailFrom As String, _
	EmailTo As String, _
	RequestReadReceipt As Boolean, _
	Subject As String, _
	CC As String, _
	BCC As String, _
	Message As String, _
	ExportFormatType As ExportFormatType _
)
public:
void Email(
	ReportDefinition^ ReportDefinition, 
	String^ NameToGiveAttachment, 
	String^ EmailFrom, 
	String^ EmailTo, 
	bool^ RequestReadReceipt, 
	String^ Subject, 
	String^ CC, 
	String^ BCC, 
	String^ Message, 
	ExportFormatType^ ExportFormatType
)

Parameters

ReportDefinition
Type: JiwaFinancials.Jiwa.JiwaApplication.PrintGroup.FormReports..::..ReportDefinition
The report definition.
NameToGiveAttachment
Type: String
The name to give attachment.
EmailFrom
Type: String
The email from.
EmailTo
Type: String
The email to.
RequestReadReceipt
Type: Boolean
if set to true [request read receipt].
Subject
Type: String
The subject.
CC
Type: String
The cc.
BCC
Type: String
The BCC.
Message
Type: String
The message.
ExportFormatType
Type: ExportFormatType
Type of the export format.

Exceptions


ExceptionCondition
Exception Cannot email from service manager job until changes have been saved. or You do not have sufficient priveleges to email from a service mamanger job.