launch default email client

  • Thread starter Thread starter Dino L.
  • Start date Start date
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).
 
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);
 
Back
Top