When the user clicks on an image I would like the application to open up outlook with our email address in the .To box.
Can anyone help?
Thanks in advance
Printable View
When the user clicks on an image I would like the application to open up outlook with our email address in the .To box.
Can anyone help?
Thanks in advance
Try creating a link and using the address of:
mailto:[email protected]
It's a windows application.
Heh, heh. Had me puzzled for a while too. I knew I'd seen a property of the hyperlink control that told it where to go, but I couldn't for the life of me find it. Then it dawned on me that it must only be for Web Forms.
Anyway, enough ranting. Will this do ya?You can all the usual other stuff at the end of the link too, like ?subject=...&body=...
You actually dont have to instantiate the object ....
System.Diagnostics.Process.Start("mailto:[email protected]")
...is enough
Fair 'nuff.