Hi every oneusing the script I was updating the mail disclaimer for all the user. Now I have the requirement to disable the mail disclaimer. I disable using the following portion script
varOpenSuccess=False
Dim dbMail As New NotesDatabase("","")
varOpenSuccess=dbMail.Open(docThis.CnabMailServer(0), docThis.CnabMailFile(0))
If varOpenSuccess Then
Set profileDoc=dbMail.GetProfileDocument("CalendarProfile")
Set item = profileDoc.ReplaceItemValue("EnableSignature","")
Set item = profileDoc.ReplaceItemValue ( "SignatureOption", "1" )
Set item = profileDoc.ReplaceItemValue ( "Signature_2", "" )
' Set item = profileDoc.ReplaceItemValue ( "Signature", "" )
Set item=profileDoc.ReplaceItemValue("CalEntryType", "0")
Call profileDoc.Save(True,True)
what this script does is
deselect the automaticlly append a signature to the bottom of my ougoing mail.
It work fine as I can not see the disclaimer but now when I create a new mail in body field I can see dash “-” there. How can I get rid of dash and why I coming.
Thanks