Discussion Thread
Mailbox SDK
Message Thread
Posted in the Mailbox SDK Forum.
FAQ: How to Register Mailbox-SDK
to Register the Mailbox SDK you need to use the property "SetRegisterKey" from the "Services API"
This registers an MCore library with a specified registration key. Without a registration, MCore library works in a limited mode and can process only the first 100 mail objects.
Delphi syntax:
procedure SetRegisterKey(Key: LPSTR);
?++ syntax:
void WINAPI SetRegisterKey (LPSTR Key);
C# syntax:
public static extern void SetRegisterKey([MarshalAs(UnmanagedType.LPStr)] String key);
Parameters:
Key
MCore library registration key, zero-terminated string.
Remarks:
· Not registered copy of MCore return special error code OMS_MAILBOXSDKNOTREGISTER when processing first 100 mail objects.
· To register your need simply put registration key as parameter to SetRegisterKey API before make any operation with mailbox objects.