MAPI error "-2147467259" MAPI_E_CALL_FAILED

Posted on 2003-03-06
Medium Priority
Last Modified: 2010-05-18
I have a user who wants to automate mailing to both Outlook and Outlook Express.  I figured MAPI would be a good choice.  Apparently not.  When I call "mapisendmail," the function returns "-2147467259."  As far as I can tell, I entered all valid data to the function.  I'm not an expert though.  If anyone has any tips or suggestions, I'd be very grateful.  I'm using Outlook Express 6.0, if that makes a difference.  Thanks.
Question by:GribFritz
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 8080744
I had a problem using MAPI myself.  I am not sure if that was the error I was getting but I used the ResolveName method before I sent the email in order for the MAPI controls to work properly.  Try that maybe it will help.  It is a Method of the Message object.

Expert Comment

ID: 8900571
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Experts: Post your closing recommendations!  Who deserves points here?
LVL 49

Expert Comment

ID: 9074185
GribFritz, an EE Moderator will handle this for you.
Moderator, my recommended disposition is:

    Save as PAQ -- No Refund.

DanRollins -- EE database cleanup volunteer

Accepted Solution

YensidMod earned 0 total points
ID: 9165912
Question is PAQ'd and no points refunded.

Community Support Moderator @Experts Exchange

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses
Course of the Month9 days, 9 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question