|
-
Dec 29th, 2008, 06:02 PM
#1
Thread Starter
Hyperactive Member
[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
-
Dec 29th, 2008, 08:11 PM
#2
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.
-
Dec 30th, 2008, 04:16 AM
#3
Thread Starter
Hyperactive Member
Re: [3.0/LINQ] Send E-mail on WinForm
Thanks, that's the answer I was looking for.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|