-
Sep 15th, 2016, 03:13 PM
#1
Thread Starter
Junior Member
-
Sep 16th, 2016, 02:10 AM
#2
Re: New Mail Message (Simple)
If you specifically want to use Outlook then you would have to use Office Automation, which is not simple. If you want to just use the user's default mail client then it is simple. You just construct the appropriate mailto URL and call Process.Start, e.g.
vb.net Code:
Dim url = "mailto:someone@somewhere.com"
Process.Start(url)
That is equivalent to clicking on a mailto link in a web page. You can simply construct the URL to contain the parts you want. It's very easy to find information on how to do that on the web.
EDIT: E.g. this was the first result when I searched for "mailto url":
http://email.about.com/od/mailtoemai...o_elements.htm
-
Sep 16th, 2016, 04:10 AM
#3
Thread Starter
Junior Member
Re: New Mail Message (Simple)
Thats what I wanted to do, thats brilliant thanks for your help!
Hey! It compiles! Ship it!
Tags for this Thread
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
|