Questions tagged [mapi]

Messaging Application Programming Interface (MAPI) is a messaging architecture and a Component Object Model based API for Microsoft Windows. MAPI allows client programs to become (e-mail) messaging-enabled, -aware, or -based by calling MAPI subsystem routines that interface with certain messaging servers.

690 questions
5
votes
3 answers

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…
UnDiUdin
  • 14,924
  • 39
  • 151
  • 249
5
votes
2 answers

Undelete a contact in outlook

I have an application written in Delphi that adds / updates contacts in outlook. The problem I'm having is that if the contact has been deleted in Outlook, the code still finds the contact and updates it - and the contact still remains deleted. Is…
Alister
  • 6,527
  • 4
  • 46
  • 70
5
votes
1 answer

COM (C++) Is Interlock APIs enough for Thread Saftey in AddRef and Release?

I know interlock APIs are used inside to AddRef and Release methods of a COM object to increment/decrement the reference count thread safe. But I am trying to understand here is that is using Interlock APIs enough or we need to some sort of other…
irsis
  • 952
  • 1
  • 13
  • 33
5
votes
3 answers

Get MAPI Folder in Outlook from Folder Path

I am trying to use the function from on this page: http://www.outlookcode.com/d/code/getfolder.htm to use the folder path to navigate to a folder. (I will copy that code onto the bottom of this question--I used it as-is, unmodified at all.) The…
Wolves
  • 515
  • 3
  • 7
  • 15
5
votes
1 answer

How to drop files onto .MAPIMail

Given some files (or shell file objects) how do i invoke the .MAPIMail registered shell extension handler with them? The Question i have some files on the…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
5
votes
2 answers

How can I get the outlook contact's avatar image?

I am trying to get the contact's avatar image. using Microsoft.Office.Interop.Outlook; public sealed class OutlookAvatarFetcher { private static void FetchAvatars() { var outlook = new Application(); var folder =…
Martin Komischke
  • 1,440
  • 1
  • 13
  • 24
5
votes
3 answers

32-bit MAPI app with 64-bit Outlook

The 32-bit version of our app is unable to send email using MAPISendMail with 64-bit Outlook installed. It returns an error 0x80004005, about which I can find little information beyond the fact that it seems to be a MAPI initialization…
chrisd
  • 853
  • 1
  • 9
  • 23
5
votes
3 answers

How to connect to a specific Outlook/Exchange account?

I am making an application to access a particular email account hosted on an Exchange 2003 server and do some stuff to the unread emails found. I do not really know very much about how MAPI works, so I wouldn't be too surprised if I have missed…
Jammerz858
  • 1,605
  • 3
  • 14
  • 14
4
votes
1 answer

What reference do I need to use MAPI to send mail from VBA?

I'm trying to send a report to people through Access Database (SendObject VB code). It has been successul until we rollout Microsoft Outlook 2010 last November. Since the upgrade, we can't send the report out anymore. We are getting a compile Error…
Eman
  • 43
  • 1
  • 1
  • 3
4
votes
3 answers

Outlook - 0×8004010F Error thrown on accessing mounted mailbox

0×8004010F Error is thrown when one user access the mailbox of another mounted user in outlook. What could be the possible resolution for this, other than disabling cached exchange mode? VSTO is used and the implementation is in C#.
Gopal
  • 1,372
  • 2
  • 16
  • 32
4
votes
1 answer

Download location for MAPI33.dll?

From where can I download MAPI33.dll. I got the link http://www.mapi33.adexsolutions.com/ from a site but it seems this is not correct.
Kapil
  • 9,469
  • 10
  • 40
  • 53
4
votes
1 answer

Internal addresses are missing after MSG to EML conversion using Redemption

I am currently evaluating the redemption library for converting MSG files to EML files. RDOSession session = new RDOSession(); RDOMail msg = session.GetMessageFromMsgFile(msgFile); msg.SaveAs(emlFile, rdoSaveAsType.olRFC822); So far Redemption is…
Fabian Barney
  • 14,219
  • 5
  • 40
  • 60
4
votes
2 answers

How to best future proof my application that needs to connect to Outlook?

I have a contact management application written in Delphi which has a “Sync with Outlook” feature that I developed 10 years ago. Now, I’m going back to add some features and fix some bugs. This sync feature uses the Outlook object model to get…
Troy
  • 1,237
  • 2
  • 13
  • 27
4
votes
4 answers

MAPI Windows 7 64 bit

I've got a legacy application that creates an email message with an attachment. The code uses the MAPI interface to create the message. This code has worked for quite some time. When the application is run on a Windows 7 64 bit machine, the call to…
epotter
  • 7,631
  • 7
  • 63
  • 88
4
votes
1 answer

Save message properties only locally (Outlook)

How can an Outlook add-in set a MAPI property (for example, the body content) on a message, but only have it saved in the local cache (and not sent back to the exchange server)? I've seen this done with a few encryption add-ins. I'm open to using…
joelsand
  • 2,245
  • 2
  • 21
  • 31
1 2
3
45 46