Solved

Email from Windows Application using default email client

Posted on 2004-04-01
5
159 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

806 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