Solved

Programatically calling outlook express

Posted on 2003-12-03
4
861 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

What does UTC stand for?  “Coordinated Universal Time” – Think of this as the true time on Planet Earth that never changes with the exception of minor leap seconds here and there to account for the changes in the planet's rotation.   What does th…
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
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…

751 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