<< Click to Display Table of Contents >>

EnableSSL

Determine whether to use SSL.

Prototype

void EnableSSL(bool IsSSL)

Parameters

IsSSL

true for using SSL

Reference

Java server works on jre1.4.2_12 or later.

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);

   }

}