• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 244
  • Last Modified:

Opening Email Client from Application

Hi Experts,

I'm developing a C++ windows application using Visual Studio 6.0. The user has the ability to

store contact information, including an email address. I want to give them the option of clicking

on a button and having the default email application (MS Outlook, etc...) open up and start a new

email with the Email Address field populated. Is there some kind of Outlook/Windows API function

call that will do this?

Thanks!

CPOsosky
0
CPOsosky
Asked:
CPOsosky
1 Solution
 
jkrCommented:
>>Is there some kind of Outlook/Windows API function call that will do this?

Sure, i.e.

ShellExecute(NULL,"open","mailto:user@domain.com", NULL, NULL, SW_SHOW);
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now