Solved

Programatically calling outlook express

Posted on 2003-12-03
4
860 Views
Last Modified: 2010-04-08
I need to open an outlook express sendmail window from within an application. Are there command line parameters which I can append to the filename that will open such a window and allow me to pass to it a recipient list?

I need to be able to do something like this:

C:\Program Files\Outlook Express\msimn.exe fct=sendmail recipient="joe.blow@somewhere.com"

from the DOS command line.
0
Comment
Question by:snazzyrags
  • 2
4 Comments
 
LVL 19

Accepted Solution

by:
Dexstar earned 250 total points
ID: 9870053
@snazzyrags:

> I need to open an outlook express sendmail window from within an application.
> Are there command line parameters which I can append to the filename that will
> open such a window and allow me to pass to it a recipient list?

Programatically Interfacing to Outlook Express is not supported by Microsoft.  However, if OE is your default mail reader, then you should be able to do this from a command line:
     start mailto:joe.blow@somewhere.com

And it should open up a blank e-mail message already addressed to joe.blow@somewhere.com .

Hope That Helps,
Dex*
0
 
LVL 23

Expert Comment

by:slink9
ID: 9870663
You can also use an add-in like MapiMail.  It is available at www.universalthread.com and works great for me.  It calls OE or any default mail app.
0
 

Author Comment

by:snazzyrags
ID: 9870889
Outstanding, Dexstar. It works!

I spent all day over on the Java list and no one came up with an acceptable answer. You hit the nail on the head on your first shot!

Thanks, much. You certainly deserve every point.
0
 
LVL 19

Expert Comment

by:Dexstar
ID: 9870904
Haha... That'll teach you to listen to Java people (Okay, okay, I'm just playing... Relax...  Java's cool...)

I'm glad you got it working... :)  The best thing about that solution is that it will work with whatever mail reader you're using.  :)

Dex*
0

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

Find out what you should include to make the best professional email signature for your organization.
Read this checklist to learn more about the 15 things you should never include in an email signature.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

749 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