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 there a way I can determine if the contact is deleted or undelete the contact?
Roughly t...
Hi, everyone!
I am developing a program, that handles incoming e-mail and sms through windows-mobile MAPI. The code basically looks like that:
ulBodyProp = PR_BODY_A;
hr = piMessage->OpenProperty(ulBodyProp, NULL, STGM_READ, 0, (LPUNKNOWN*)&piStream);
if (hr == S_OK)
{
// ... get body size in bytes ...
STATSTG ...
Hi,
I'm trying to open the MessageStore of a user using MAPI. The weird thing is, when I run this a console application, while I'm logged with the user, everything works fine.
But when I run this as a Windows Service I get MAPI_E_NOT_FOUND when trying to open the MessageStore.
I already configured the service to run as the user.
Map...
I'm currently brainstorming ideas for an application our company is looking at creating. We'd like to display data and a folder structure inside of Outlook, which connects into our custom data store. A custom MAPI Message Store Provider appears to be the way to go.
Does anyone have any experiences good or bad with creating one? From ...
I have a software solution for Exchange 2000/2003/2007 and now hopefully after this for 2010. The software runs on the server and uses Exchange MAPI through RDO to talk the the exchange server, retrieving emails inside mailboxes.
All works fine on Exchange 2000/2003/2007 but 2010 just won't budge. Keep on getting this error when trying ...
Why does Thunderbird always return immediately after sending mail through MAPI?
Other clients, like Outlook Express, returns only when the mail is sent or when the user was cancelled the request. But Thunderbird always return SUCCESS every time.
Somebody knows why or knows how to fix it?
Thanks in advance.
...
I have to support an old C++ program (I am not its author) that uses Extended MAPI to scan mail folders from Outlook 2007.
Suddenly the software began meeting problems on one customer's computer by the following scenario:
call of OpenMsgStore fails for some folders with code 0x80040102 (MAPI_E_NO_SUPPORT ). for other folders it fails...
For various reasons (questioning the reasons is not helpful to me), I'd like to implement my own extended mapi dll for windows xp. I have a skeleton dll now, just a few entrypoints exist for testing, but the system mapi stub (c:\windows\system32\mapi32.dll, I've checked that it's identical to mapistub.dll) will not pass through calls t...
I use the following emailing function with Eudora. For some reason the attachment file name is renamed to be something else. How can I make sure the attachment file name remains intact?
function SendMailMAPI(const Subject, Body, FileName, SenderName, SenderEMail,
RecepientName, RecepientEMail: String) : Integer;
var ...
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 started, but it has an optional mode called “Use MAPI Enhancements” where it uses pure MAPI t...
I have found that if I move a message using IMAPIFolder::CopyMessages (using the MESSAGE_MOVE flag) the message gets a new entry ID. However I do not see any reliable way of getting the entry ID of the message in its new location, or otherwise getting a reference to it.
The best suggestion I have had so far involves tagging the message ...
Our application uses Simple MAPI to send e-mails. One of our clients has problems sending e-mail from a session on his terminal server.
The mapi32.dll is loaded with a call to LoadLibrary which succeeds, but then our application tries to get the addresses of the functions MAPILogon, MAPILogOff, MAPISendMail, MAPIFreeBuffer and MAPIResol...
I've installed MYOB on SBS server 2003. Why? Because the users were using offline files and it turned out there was about 7 versions of the file both locally and on the server that were out of sync... So the only way I could control the file access was to force RDP to the server... Always using the server file and always in sync...
An...
Hello,
I'm desperately looking for some statistics about usage of POP versus IMAP versus Exchange-MAPI, especially in professional context.
I know IMAP is used for accessing mails from mobile devices with limited bandwidth, whereas POP is the good old standard, and Exchange is more business-oriented.
Does someone know the approximate pe...
Possible Duplicate:
Occurs in MYOB Accounting Plus 18.5 among other versions. Cannot get the function address for MAPISendMail from MAPI32.dll Please check your Mapi installation
I've installed MYOB on SBS server 2003 and have successfully configured an instance of Outlook 2007 with a valid sending profile.
Anyway, this issu...
I just can't get MAPI to work on our production machines. I've already created an application that uses MAPI and sites on that very machine but for some reason I can get my new app to work. I have no idea what I'm doing wrong.
Locally I've created an application that uses MAPI to log into a mail profile and retrieve messages. The messag...
My native raw C++ program uses MAPI to traverse the tree in the Exchange Server.
Sometimes when I call HrGetOneProp() on a IMAPIFolder* pointer to retrieve PR_DISPLAY_NAME it fails with HRESULT 0x80040115. It only happens for one particular folder, all other folders names are retrieved allright.
Outlook 2003 running on the same machine...
In my outlook I have 1 exchange connection and 2 Personal Folders.
I want to go fetch ALL items from the calendars and contacts so I use:
/**
* Create outlook application
*/
Outlook.Application oApp = new Outlook.Application();
Outlook.NameSpace oNS = oApp.GetNamespace("mapi"...
specifically WM6x, winCE5x
Now my current understanding from trawling the msdn etal is that the IMAPIAdviseSink::OnNotify callback can be made from any old thread; from (ce)mapi or perhaps even from a third-party service provider.
Under WM6x, i cannot seem to coax an in-thread response by invoking HrThisThreadAdviseSink, since while th...
Is it possible to create MANAGED (.NET) Outlook MAPI store provider? How?
I'm a complete novice in Outlook world, but don't wont to fiddle with all that COM droppings.
...