RDOSignatures object

 

RDOSignatures represents Outlook signatures from a particular profile .

 

Returned by:

RDOSession.Signatures

 

The example below enumerates all signatures in the profile.

'enumerate all signatures

set Session = CreateObject("Redemption.RDOSession")

Session.MAPIOBJECT = Application.Session.MAPIOBJECT

for each Signature in Session.Signatures

  Debug.Print Signature.Name

next

 

Properties

Methods

 


Derived from: IDispatch


Properties


Count integer, read-only. Returns the number of signatures in the profiles.
 

Methods


Add(Name) Add a new signature with the given name and returns the RDOSignature object representing it.

Name - string

const htmlSignature = "<html><body>Test <b>bold</b> text</body></html>"

set Session = CreateObject("Redemption.RDOSession")

Session.MAPIOBJECT = Application.Session.MAPIOBJECT

set Signature = Session.Signatures.Add("Test signature 2")

Signature.SetHTMLBody htmlSignature, true

Signature.Save

Item(IndexOrName)
Retrieves  RDOSignature object with the given name or index (1 through Count)
 
Remove(IndexOrName)
Retrieves Outlook signature object with the given name or index (1 through Count)