Message recall: How is the Sequence Time generated in an Originator ID (OID)?

I have an issue at customer site… Users cannot recall messages sent between internal on-premise Notes users when using the generic mailbox as described below These messages are business critical, but must be recalled a few times a month.

Background:
Users save drafts in the the generic mailbox which is based on the Notes 9.0.1 mail template. During non-business hours a scheduled LotusScript agent sends the draft messages from a generic mailbox which are saved in the Sent View. The sent emails are natively assigned a message id, however, the saved emails are missing the message id ($MessageID field).

To fix the issue we would like to create the $MessageID field in the saved email which matches the Message ID on the email received by the recipient which we assume will allow the native message recall to function properly. However, we do not understand how the Sequence Time of the Originator ID (OID) is created. We are able to create the other parts of the OID fine (i.e. UNID).

How is the Sequence Time generated in an Originator ID (OID)?

FYI

What are the components of a Note ID?
http://www-01.ibm.com/support/docview.wss?uid=swg27002668 http://www-01.ibm.com/support/docview.wss?uid=swg27002668

Crucial tools for IBM Lotus Notes and Domino administration and development…

Find the “crucial tools you need to succeed” including product descriptions, downloads, demos and testimonials.
Speed up IBM Lotus Notes and Domino administration and development with these crucial software tools.
Better, stronger, faster productivity for administrators and developers.
Download and try the lite (free) version http://www.notesmail.com/IBM-Notes-tools

Subject: It seems Notes API can get OID, but can we implement in LotusScript?

There seems to be a way to retrieve and set the Originator ID (OID) using the Notes API as seen below, but how can we implement using LotusScript. Thanks in advance. :slight_smile:

FYI

What are the components of a Note ID?
http://www-01.ibm.com/support/docview.wss?uid=swg27002668 http://www-01.ibm.com/support/docview.wss?uid=swg27002668

ORIGINATORID - Uniquely identifies all replicas of the same note.

#include <nsfdata.h>

Definition :

typedef struct ORIGINATORID_tag {
DBID File;
TIMEDATE Note;
DWORD Sequence;
TIMEDATE SequenceTime;
} ORIGINATORID;

Sample Usage :

ORIGINATORID NoteOID;

/*

  • Get the OID from the note AFTER it has been updated
    */

NSFNoteGetInfo (hNote, _NOTE_OID, &NoteOID);

http://www-12.lotus.com/ldd/doc/domino_notes/9.0/api90ref.nsf/f961929dc6dc14dc852561bf0067d1c4/85255d56004d3f63852564da0011dca7?OpenDocument http://www-12.lotus.com/ldd/doc/domino_notes/9.0/api90ref.nsf/f961929dc6dc14dc852561bf0067d1c4/85255d56004d3f63852564da0011dca7?OpenDocument

Subject: The sequence time is not used for message recall

so you shouldn’t need to do anything with it.

–Steve
swatts@us.ibm.com