Solved

Programatically calling outlook express

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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Many people use more than one email account and so it becomes difficult for them to manage them when they use separate accounts,  so, in this article, I have shared an easy way to add Other Mail Accounts in your Google Inbox. It helps to combine all…
This article will help to fix the below errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

617 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