Namespaces |
Namespace | Description |
---|---|
SOMailReader.Interop | |
SOMailSender.Interop | This plugin API is used by SOCRM to read mailbox contents.SuperOffice supplies a SIMPLE-MAPI implementation inside SOCRM.For Outlook and other rich MAPI clients, it is preferred to open the corresponding client instead of using the built-in mailbox panel in SOCRM for reading mail.A plugin for reading the contents of an e-mail inbox from SOCRM.EXE using a given mail system.SOCRM will use a plugin to read the messages from the inbox if the user-preference [Mail] Inbox is set.You need to reference either READER.TLB or SOMAILREADER.INTEROP.DLL.These contain the interface definitions you need to implement in your plugin.Once your plugin has been implemented and registered using either REGSVR32 or REGASM, you need to install it into SuperOffice by adding it to the client's registry.You need to add an entry in the HKCU registry hive: HKCU\Software\SuperOffice\Mail\Readers\<addin-name>Here you must add a value:CLSID = {ab1234cd-1234-4567-4567-1233ddeeffcc}to identify the plugin.SOCRM will load the plugin next time it starts, and create an instance of the CLSID (that implements IMailReader).SOCRM will call StartSession to create a connection to the mail inbox.When the user clicks the INBOX button, the plugin will be used to read the list of messages for the inbox using the GetFirst and GetNext methods to return the message ids.The slower GetMail method is used to read the message details.Alternatively you can declare the command to show the local mail client inbox directly: HKCU\Software\SuperOffice\Mail\Inboxes\<addin-name>Command = \path\to\mail-client.exeParameter = /inboxThis is an alternative to implementing a reader plugin. |
SOSentryPlugin.Interop | |
SuperOffice.COM.SuperOfficeDB | The Database Library is a client-side Application Programming Interface (API) available as a COM object. You can access most of the available data in the SuperOffice database through the API without logging in to the SuperOffice CRM Windows client.
SuperOfficeDB API ReferenceThe Database object is used if you want to manipulate the SuperOffice database without having to write SQL.Instead of writing SQL, you manipulate objects and save the objects. The database is then updated automatically for you.You can use the objects to do the same sorts of things that the SuperOffice client does.The advantage of using these objects is that you get intellisense and a whole bunch of business-logic built in.The disadvantage is that the objects may not be as fast as building your own custom queries. This is particularly true for doing batch updates.The database object must be logged in before use. The exception to this is when you obtain the database object belonging to the running SuperOffice client application using the SOApplication.Database property.The components will try to enforce the security system that applies in the SuperOffice client, so if you attempt to read another users private appointment with the [IAppointment] object, then your code will raise a security exception. Similarly, attempting to save an object that your user is only allowed to read will also lead to a security exception.Security is enforced based on the user that you are logged in as.The OLE-DB provider does not enforce security in the same way. |