PrefSignature()

Sets the signature that is appended to every sent message.

Token ID

AFTKN_SET_SIG or 885

Syntax

VOID PrefSignature( [ENUM SignatureOptions]; 
                    [ENUM AddSignature]; 
                    [ENUM AddVCard]; 
                    [ANSISTRING SignatureText];
                    [ANSISTRING VCardFilename];
                    [ANSISTRING AccountName];
                    [ANSISTRING AccountRecordId])

Parameters

SignatureOptions As ENUM

(Optional) Specifies the mode for adding signatures or vCard* information:

  • 0 Do not add
  • 1 Automatically add
  • 201 Prompt before adding
AddSignature As ENUM

(Optional) Specifies whether or not to add the signature:

  • 0 No
  • 1 Yes
AddVCard As ENUM

(Optional) Specifies whether or not to add a vCard:

  • 0 No
  • 1 Yes
SignatureText As ANSISTRING

(Optional) Specifies the signature text.

VCardFilename As ANSISTRING

(Optional) Specifies the name of the vCard file. If the name isn’t provided, the vCard information is generated by the Address Book.

AccountName As ANSISTRING

(Optional) Specifies the name of the sending account. For example, GroupWise.

AccountRecordId As ANSISTRING

(Optional) Specifies the record ID of the sending account.

Remarks

You cannot turn off the signature option by setting only SignatureOptions to 0. If you want to turn off signatures, you must also set AddSignature to 0, as shown in the following example:

PrefSignature(0;0);

See Also