Solved

Email from Windows Application using default email client

Posted on 2004-04-01
5
158 Views
Last Modified: 2010-04-15
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....

0
Comment
Question by:rpatil
  • 2
5 Comments
 
LVL 5

Expert Comment

by:AdrianJMartin
ID: 10732939
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.
0
 

Author Comment

by:rpatil
ID: 10732957
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.
0
 
LVL 5

Accepted Solution

by:
AdrianJMartin earned 125 total points
ID: 10733006

system.web.mail is available for use anywhere not just within web apps, the example is in ASP.NET but it can be used within WinForms Just as easily.

otherwise:-

http://www.microeye.com/resources/res_tech_vsnet.htm

very good collection of resources
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Bit flags and bit flag manipulation is perhaps one of the most underrated strategies in programming, likely because most programmers developing in high-level languages rely too much on the high-level features, and forget about the low-level ones. Th…
Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

708 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now