mapi

How do I separate inline images and attaches using MAPI?

My program uses MAPI for working with Exchange mailboxes. The problem is if a user fires up Outlook, adds a file as an attachment and also opens Paint, selects a region there, copies it into clipboard and pastes into the message body the resulting message showns two attachments. More specifically, the program calls IMAPIMessage::GetAtta...

hi mapi installation

Hi , I downloaded the mapi folder from zarafa site , Am working on the Z-PUSH open source , To RUN Z-Push Mapi extension is required , So i downloaded from zarafa site, Tell me now, where i paste the mapi folder , But i configure.php , they are mention path like /usr/share/php/mapi But i dont have any path like this , My pres...

storing email signature on MS Exchange Server via MAPI using C#?

Hi, is there a way to programatically store email signatures on MS Exchange Server via MAPI using C#? ...

Send an e-mail with rtf text in delphi

I would like to perform the following task: converting a TRichEdit content (an rtf text) into a not-plain-text e-mail message body. MAPI doesn't support rtf, but is there a way to do it maybe with Indy? The problem is that rtf is rtf and emails are plain text or HTML. Can someone suggest a trick? Is it possible to convert rtf to text ...

Exchange Web Services (Managed API) vs. WebDav Performance Question

I'm new to Exchange (2007) development so please bear with me. :-). There appear to be a myriad of technologies for Exchange development -- the latest being Exchange Web Services -- and it's related Managed API. I need to write a program that can -- if necessary -- run on the Exchange servers -- to scan people's mailboxes for the purpo...

How to detect whether Outlook digitally signs an email by default?

Background: I'm working on an Outlook addin which adds an attachment to outgoing emails. Support is required for all versions of Outlook. When a MailItem has been signed with a digital signature, adding an attachment to this mailItem generally fails unless you save the mail item. This removes the signature from mailitem. To me, this is ...

Problem sending HTML Mails using MAPI and Outlook

I am trying sending HTML e-mails using MAPI calls in my Delphi Application. When the client is Thunderbird if works fine. But when the client is Microsoft Outlook or Outlook Express I need to save the HTML code in a file and send it as the first attachment of my message, elsewhere the mail client interpret the HTML as text, showing the t...

Detect if Exchange MAPI is installed

Since Exchange 2007, MAPI is no longer installed when Exchange is installed. On these systems this install is needed in addition to Exchange if you want to use MAPI. My software depends on Exchange MAPI, so I need to detect if its installed. How can I reliably test if MAPI is installed on the local machine? First prise will be if I can ...

windows live mail mapi support

I am writing a c# .net application that needs to send email messages using MAPI. I am using the following library to achieve this http://www.codeproject.com/KB/IP/SendFileToNET.aspx Here is an example how I use it. MAPI mapi = new MAPI(); mapi.AddRecipientTo("[email protected]"); int returncode = mapi.SendMailPopup("subject", "message"); i...

Standalone version of MAPI and Redemption

What steps should i made for working with Redemption (need export to PST) on clear machine? Install Redemption.dll Install my app Install standalone version of MAPI What else i need to do? Now: session = new RDOSessionClass(); - work store = mSession.LogonPstStore(filePath, rdoStoreType.olStoreDefault, null, null, null); - throw e...

Modifying Exchange ACL for folders with python

Hi folks, while try to read the ACL Table of a folder, I ran into this problem: In a C++ tool (MFCMAPI) this method is used to get the Property PR_ACL_TABLE in a usable data type: // Open the table in an IExchangeModifyTable interface EC_H(lpMAPIProp->OpenProperty( ulPropTag, (LPGUID)&IID_IExchangeModifyTable, 0, MAPI_DEFERRE...

Time that an Outlook MailItem was read or flagged

I'm developing a small add-in for Outlook 2010 using the Microsoft.Office.Interop.Outlook assembly. As part of my add-in, I'd like to be able to determine the date/time a mail item was last marked read or flagged for follow-up. I thought that the LastModificationTime property of the Microsoft.Office.Interop.Outlook.MailItem class might...

Delphi: MAPILOGON ErrorCode 1

Hi! I tried with many versions of MAPISend, but I everytime got error in one place. The MAPILogon returns with errorcode 1. dwRet := MapiLogon(Handle, nil, nil, MAPI_DIALOG or MAPI_NEW_SESSION, 0, @MAPI_Session); I tried with "MAPISend component", this code: http://prog.hu/tudastar/60044-6/Delphi-Email+csatolt+file+thunderbird.html...

How do I access recipients for an Outlook mail message when using GetTable?

For performance, I am enumerating an Outlook mail folder using GetTable(). This gives me a collection of Row objects I can enumerate to get specific properties in the given folder. I can control the coluumns in my result using the Columns collection of the Table before I begin enumerating. Overall, this works fine. However, I can't f...

OpenMsgStore fails with MAPI_E_FAILONEPROVIDER in Remote Desktop session

I'm developing a window service to send email through MAPI, utilizing the MAPI33.dll library. I installed the service in Windows Server 2003 and it works well, even with a MS Outlook application running in foreground. However, when I login into the server through Remote Desktop session, I'm getting error MAPI_E_FAILONEPROVIDER at the O...

Retrieve User Entry IDs from MAPI

Hi folks, I extended the win32comext MAPI with the Interface IExchangeModifyTable to edit ACLs via the MAPI. I can modify existing ACL entries, but I stuck in adding new entries. I need the users entry ID to add it, according this C example (Example Source from MSDN) STDMETHODIMP AddUserPermission( LPSTR szUserAlias, LPMAPISES...

Refreshing the Outlook MAPIFolder UnReadItemCount

I'm retrieving the UnReadItemCount from several Outlook folders in a PowerShell WPK application. I create an Outlook.Application object, get the Session, and do a tour of the Folders, saving the Folder objects of interest in PowerShell variables. Then I retrieve the UnReadItemCounts from the saved Folder objects and display them in the...

Controlling the mail client from delphi

hi! I have an issue here where we need to control outlook from Embarcadero Delphi 2010. we used today some thirdparty components for opening the mail sending window, this worked some timeago. but now it seem to fail on newer outlook versions. are there any component out there dedicated to controlling outlook from Delphi, or are there ...

MAPI for out of office Rules

Hi, I need to read and modify "out of office" rules (not subject, body or enabled flag) using MAPI, or any other API if possible, for example I need to read to whom the mails should be forwarded and to modify this field. Do you know any samples, url, starting point or anything else what could help me achive this thanks almir ...

Open mails in outlook from C# using the protocol “mapi://”

I wish to execute a URL in the format mapi://{S-1-5-21-1626573300-1364474481-487586288-1001}/[email protected]($b423dcd5)/0/Inbox/가가가가곕갘객겒갨겑곓걌게겻겨곹곒갓곅갩갤가갠가 , which I got from searching via Windows Desktop Search. On Vista with Outlook 2007, this fails to open Emails if outlook is already open. Except sometimes, when it works for myster...