sending mail in windows form

  • Thread starter Thread starter DBC User
  • Start date Start date
D

DBC User

I would like to know is there a way to I can do the same thing as
'mailto:' to in web forms?
Thanks.
 
Hi,

DBC said:
I would like to know is there a way to I can do the same thing as
'mailto:' to in web forms?
Thanks.

You can use a LinkLabel, and then handle the "LinkClicked" event with
the following code:

Process mailto = new Process();
mailto.StartInfo.FileName = "mailto:[email protected]";
mailto.Start();

HTH,
Laurent
 

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

Back
Top