<< Click to Display Table of Contents >>
SetContext
Sets the message context.
Prototype
void SetContext(string Context, [bool IsHTML])
Parameters
Context |
message context |
IsHTML |
true for HTML format |
Example
function mailTestAlias(){
try {
var mail = OZCreator.GetBuiltInObject(OZBuiltInObject.MAIL);
mail.SetAlias("ozmail");
mail.SetRecipients(RecipientTypeConst.TO, "oz@forcs.com");
mail.SetRecipients(RecipientTypeConst.CC, "forcs@forcs.com");
mail.SetSubject("Mail Subject");
mail.SetContext("Mail Context");
mail.AddAttachmentPart("d:/sample.xls");
mail.Send();
mail.Release();
}catch(e) {
_ERROR(e);
}
}