Solved

MAPI using incorrect Email Program

Posted on 2002-06-15
1
163 Views
Last Modified: 2010-05-02
I think this is an easy question if not I will increase the points.

I have an app that is using the Microsoft MAPI Controls 6.0.  On my development machine I (at one time) had MS Outlook 2000 as my default email program.  My default email application is now Outlook Express and has been for some time.

I spent about 4 hours yesterday trying to figure out why my application was not sending any mail.  The code worked fine, no errors etc...

However an accidental click on Outlook 2000 showed me that my app was working, it was just placing all the email into Outlook 2000.

The reason I want to use the default email is that I want the application to place the email being sent into the "Sent Items" folder.

Is there some setting I'm missing.  Apparently it's ignoring the default email application and using Outlook 2000 regardless.
0
Comment
Question by:ketapillar
1 Comment
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 50 total points
ID: 7080515
see http://www.freevbcode.com/ShowCode.Asp?ID=109

Better use this free component to send e-mail. You will never have problems anymore!
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

839 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