
open, multi-language,
cross-platform MAPI implementation
Last Update: 25.06.2009
NMapiAbout openmapi.orgOpenMapi.org provides a cross-language, multi-platform implementation of the MAPI API. |
ScreenshotsMapiShellLogin scriptThe shell just after the login script has been run and we are connected to the store. OpenMapi.org - MapiShell 0.1 (C) 2008 by Topalis AG, http://www.openmapi.org/ For more information, type 'help'. Loading Property names ... OK Hello from mashrc! Session opened for 'org.openmapi.txc'. Logged on. mapi#jroith@localhost:priv:/Mailbox - jroith/Tasks> lsShows how ls is used to display pseudo-filenames for objects; This sample also demonstrates the use of meta-data providers to provide a meaningful summary of objects (Task-Objects in this case).
mapi#jroith@localhost:priv:/Mailbox - jroith/Tasks> ls
F evYlSg IPM.Task: (Subject: 'Make MapiScreenshots')
F O_jmSA IPM.Task: (Subject: 'Update Tasque NMapi backend')
F Xb75Ww IPM.Task: (Subject: 'Improve Meta-Data rendering')
F kQxArg IPM.Task: (Subject: 'Add GConf-Like NMapi.Configuration API')
mapi#jroith@localhost:priv:/Mailbox - jroith/Tasks>
Mail SampleThis sample will first "cd" to the root of the store, then go to the "Sent" folder of the Mailbox, list the messages stored there (one message), list the properties of that message and finally print the Body of the message. mapi#jroith@localhost:priv:/Mailbox - jroith/Tasks> cd / mapi#jroith@localhost:priv:/> ls D Aufgabensuche D Erinnerungen D Freebusy Data D IPM_COMMON_VIEWS D IPM_FINDER D IPM_VIEWS D Mailbox - jroith D Nachverfolgte E-Mail-Verarbeitung D ORG.OPENMAPI mapi#jroith@localhost:priv:/> cd "Mailbox - jroith/Gesendet" mapi#jroith@localhost:priv:/Mailbox - jroith/Gesendet> ls F kVjoPA ENTRY_ID: 00000000891811cc42c548b696c2d a1d2ee396c0402a2a40cfa291fe32da4ec78d9fd067dd046696 232a2a2301050000 mapi#jroith@localhost:priv:/Mailbox - jroith/Gesendet> cat kVjoPA Required parameters: [key], [property] mapi#jroith@localhost:priv:/Mailbox - jroith/Gesendet> props kVjoPA NMapi.Flags.Property.MessageSize NMapi.Flags.Property.ParentEntryId NMapi.Flags.Property.MessageRecipients NMapi.Flags.Property.MessageAttachments NMapi.Flags.Property.Access NMapi.Flags.Property.AccessLevel NMapi.Flags.Property.MappingSignature NMapi.Flags.Property.RecordKey NMapi.Flags.Property.StoreRecordKey NMapi.Flags.Property.StoreEntryid NMapi.Flags.Property.ObjectType NMapi.Flags.Property.EntryId NMapi.Flags.Property.StoreSupportMask NMapi.Flags.Property.Importance NMapi.Flags.Property.MessageClassA NMapi.Flags.Property.SubjectA NMapi.Flags.Property.ClientSubmitTime NMapi.Flags.Property.SubjectPrefixA NMapi.Flags.Property.SentRepresentingEntryId NMapi.Flags.Property.SentRepresentingNameA NMapi.Flags.Property.SentRepresentingAddrTypeA NMapi.Flags.Property.SentRepresentingEmailAddressA NMapi.Flags.Property.ConversationTopicA NMapi.Flags.Property.ConversationIndex NMapi.Flags.Property.SenderEntryId NMapi.Flags.Property.SenderNameA NMapi.Flags.Property.SenderAddrTypeA NMapi.Flags.Property.SenderEmailAddressA NMapi.Flags.Property.DisplayBccA NMapi.Flags.Property.DisplayCcA NMapi.Flags.Property.DisplayToA NMapi.Flags.Property.MessageDeliveryTime NMapi.Flags.Property.MessageFlags NMapi.Flags.Property.Hasattach NMapi.Flags.Property.NormalizedSubjectA NMapi.Flags.Property.RtfInSync NMapi.Flags.Property.BodyA NMapi.Flags.Property.RtfCompressed NMapi.Flags.Outlook.Property_INTERNET_MESSAGE_ID_A NMapi.Flags.Outlook.Property_ICON_INDEX NMapi.Flags.Property.CreationTime NMapi.Flags.Property.LastModificationTime NMapi.Flags.Property.SearchKey NMapi.Flags.Outlook.Property_INTERNET_CPID 1736441876 -2147024885 mapi#jroith@localhost:priv:/Mailbox - jroith/Gesendet> cat kVjoPA NMapi.Flags.Property.Body Test 123… mapi#jroith@localhost:priv:/Mailbox - jroith/Gesendet> mapi#jroith@localhost:priv:/Mailbox - jroith/Gesendet> exit |