SalesOrder..::..Email Method (SalesOrderReport, String, String, String, Boolean, String, String, String, String, ExportFormatType)

Emails the specified report.

Namespace:  JiwaFinancials.Jiwa.JiwaSales.SalesOrder
Assembly:  JiwaSales (in JiwaSales.dll)

Syntax


public void Email(
	SalesOrderReport Report,
	string NameToGiveAttachment,
	string EmailFrom,
	string EmailTo,
	bool RequestReadReceipt,
	string Subject,
	string CC,
	string BCC,
	string Message,
	ExportFormatType ExportFormatType
)
Public Sub Email ( _
	Report As SalesOrderReport, _
	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(
	SalesOrderReport^ Report, 
	String^ NameToGiveAttachment, 
	String^ EmailFrom, 
	String^ EmailTo, 
	bool^ RequestReadReceipt, 
	String^ Subject, 
	String^ CC, 
	String^ BCC, 
	String^ Message, 
	ExportFormatType^ ExportFormatType
)

Parameters

Report
Type: JiwaFinancials.Jiwa.JiwaApplication.PrintGroup.SalesOrderReports..::..SalesOrderReport
The report.
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 a sales order until changes have been saved. or You do not have sufficient priveleges to email an invoice.