• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 663
  • Last Modified:

Sending emails MAPI in outlook 2010 x86

MAPI gives out an error "operation aborted" error code 80004004. When Outlook is not open.

When it is open it sends out the email without an error.

The error occurs at the line  "Recipients.add" line.

MAPI cannot send the email when outlook is not open?
  • 2
1 Solution
David LeeCommented:
Hi, sqlprg.

That's correct.  Outlook has to be open for that code to work.  You're using Outlook's object model which, of course, requires access to Outlook.
sqlprgAuthor Commented:
Thanks, BlueDevilFan, thought as much.
David LeeCommented:
You're welcome.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now