Solved

MAPI using incorrect Email Program

Posted on 2002-06-15
1
160 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 69

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

707 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now