launch default email client

D

Dino L.

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).
 
D

Dino L.

Dino said:
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 = "(e-mail address removed)";
string subject = "Informacije";
string body = "test email";
string message =
string.Format("mailto:{0}?subject={1}&body={2}",toEmail, subject, body);
Process.Start(message);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top