473,387 Members | 1,517 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

launch default email client

Hi,

how can I launch default mail client from my application, after users click?
It should give subject and my email to outlook (or some other client).
Nov 16 '05 #1
1 9132
Dino L. wrote:
Hi,

how can I launch default mail client from my application, after users
click?
It should give subject and my email to outlook (or some other client).

sorry

I have solution now...

string toEmail = "in**@xxxxx.ba";
string subject = "Informacije";
string body = "test email";
string message =
string.Format("mailto:{0}?subject={1}&body={2}",to Email, subject, body);
Process.Start(message);
Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: scott | last post by:
From an asp page, i'm trying to auto-open a pop-up page if something exists. I can do this within access via vba using below code. Anyone know how I could modify the below js to auto-lauch from...
7
by: Christopher C | last post by:
I am using a C# winform to launch some apps for our students. Basically the user hits a button the form hides and the app is launched. When the app exits, the form is unhidden. I have a question on...
6
by: Kurt | last post by:
Hello, How do I launch default e-mail client (Otulook, Eudora...) with attachment? mailto: does not support attachments and SMTP does not open the default e-mail client. Kurt
2
by: Softworks | last post by:
I'm trying to launch the default email client from a procedure, code shown below. I keep getting the following error: System.ComponentModel.Win32Exception: An attempt was made to reference a...
2
by: Edgardo | last post by:
I hope I'm in the correct forum for this, as the problem is hard to categorize. I have a VS 2005 asp.net application that invokes Word 2003 to opean and read a word document. the aplication have...
1
by: Larry Rebich | last post by:
I'm trying to launch the user's email client using 'MailTo:'. So I put a button on an aspx page and wrote some .vb code to use 'Mailto:' and it works on my development machine when I press the...
4
by: =?Utf-8?B?QmVubnk=?= | last post by:
How do I create a new IE window (client script or ASP.NET server code) so that it will create a new ASP session with each new window? Thanks.
1
by: Cristina | last post by:
Hi, i'm trying to launch excel from an asp.net application. My problem is that i already install excel 2003 on the server but i dont find excel on the list of dcom applications; do i need to do...
3
by: LordHog | last post by:
Hello, How would I go about finding the default handler, let's say a text file (*.txt), then launch the default handler with the file as an argument? I had found how to launch an external...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.