[RESOLVED] [3.0/LINQ] Send E-mail on WinForm
Hi There,
I am trying to create a button on a windows form that allow user to send e-mail with their default e-mail application, but I have no idea how to do that on a windows form.
What I want to do is just like a hyperlink on webpage, but when I click on that button, it lauches Microsoft Outlook or Outlook Express to send an e-mail.
Can you give me some direction on how to archive that? I'm sure it's something easy, I am just didn't get my mind around it.
Regards
PlayKid
Re: [3.0/LINQ] Send E-mail on WinForm
Call Process.Start and pass a mailto URL. Just as clicking a link with a mailto URL in a web page will open the user's default e-mail client, so too will the equivalent in a WinForms app. You can read about the mailto URL format on the web to see what values to include.
Re: [3.0/LINQ] Send E-mail on WinForm
Thanks, that's the answer I was looking for.