Fax in Lotus Notes via Java Script without cover sheet

Hi,I have written a script in a web app. for a client that pops up a lotus note window for sending fax. Now client requires that when sending fax from this location, fax cover should not be sent. How can fax settings be handled via script ?

Below given is a sample of the actual script

//******************************************

var oNotesSession = new ActiveXObject(“Notes.NotesSession”);

var oDb = oNotesSession.GetDatabase(oNotesSession.GetEnvironmentString(“MailServer”, true), oNotesSession.GetEnvironmentString(“Mailfile”, true));

if(oDb.IsOpen === false)

{

oDb.OpenMail;

}

var oMailDoc = oDb.CreateDocument;

oMailDoc.SaveDocumentOnSend = true;

oMailDoc.Form = “Memo”;

oMailBody.EmbedObject(1454,“”,“C:\Attachments\Attachment.txt”,“Attachment”);

oMailDoc.SendTo = “91111111111@faxserver.domain.com”;

oMailDoc.Subject = “test”;

oMailDoc.Save(false,false);

var oNotesUIDoc = oWorkSpace.EditDocument(true, oMailDoc);

oNotesUIDoc.GoToField(“Body”);

//******************************************

I googled and found out certain options like

NFX_FaxOutCoverPageName but could not find any proper documentation regarding its use.

Subject: Depends on fax server

Hi,

After further analysis, I found that this setting depends on fax server and you have to embed fax server specific code in the document.

For e.g. for RightFax server, you have to embed the text in the document with a specific font setting.

I managed to insert this text in the message body with specified font setting. However this sets the font for the rest of document. Anyone knows how to get the default font setting for the Lotus Client instance so that it can be re-applied ?