Link to home
Start Free TrialLog in
Avatar of rpatil
rpatil

asked on

Email from Windows Application using default email client

I have a Windows application which can open saved files. This is an MDI application and all saved file are opened as child windows.

The application is required to have the ability to email the opened files using the default email client. Clicking on "Email This File" should launch the email client and auto attach the file.

Any idea how to accomplish this....

Avatar of AdrianJMartin
AdrianJMartin

If your clients are 2000 or above you can use:-

the system.web.mail namespace

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebmailmailmessageclasstopic.asp


has examples;

Otherwise you can use mapi via com interop.
Avatar of rpatil

ASKER

This won't help...
1. since the application is a Windows application and not web app.
2. i need to launch default email client (like outlook, outlook express or any such client) with the file auto attached. Just like how Microsoft word does.
ASKER CERTIFIED SOLUTION
Avatar of AdrianJMartin
AdrianJMartin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial