[This is preliminary documentation and is subject to change.]

The generalized form of send message utility which accepts the template file for email template, the mail priority and the attachment.

Namespace:  OfficeClip.DBLayer.Framework
Assembly:  OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0

Syntax

C#
public static bool SendMail(
	string fromName,
	string fromAddress,
	string toName,
	string toAddress,
	string templateFile,
	Hashtable values,
	string mailPriority,
	ArrayList attachments
)
Visual Basic (Declaration)
Public Shared Function SendMail ( _
	fromName As String, _
	fromAddress As String, _
	toName As String, _
	toAddress As String, _
	templateFile As String, _
	values As Hashtable, _
	mailPriority As String, _
	attachments As ArrayList _
) As Boolean
Visual C++
public:
static bool SendMail(
	String^ fromName, 
	String^ fromAddress, 
	String^ toName, 
	String^ toAddress, 
	String^ templateFile, 
	Hashtable^ values, 
	String^ mailPriority, 
	ArrayList^ attachments
)

Parameters

fromName
Type: System..::.String
fromAddress
Type: System..::.String
toName
Type: System..::.String
toAddress
Type: System..::.String
templateFile
Type: System..::.String
The template file which determines the template of the message.
values
Type: System.Collections..::.Hashtable
The values of the variables in the template.
mailPriority
Type: System..::.String
attachments
Type: System.Collections..::.ArrayList
An arraylist of strings of physical Address of the files to be sent as attachments with the email.

Return Value

See Also