Solved

Programatically calling outlook express

Posted on 2003-12-03
4
859 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

In this step by step procedure, you will come to know the details of creating an Outlook meeting in 2007, 2010, 2013 & 2016.
When you have clients or friends from around the world, it becomes a challenge to arrange a meeting or effectively manage your time. This is where Outlook's capability to show 2 time zones in one calendar comes in handy.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
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…

840 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