PDA

Click to See Complete Forum and Search --> : Opening Outlook - Sending an email


venerable bede
Oct 15th, 2002, 09:40 AM
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

darian1271
Oct 15th, 2002, 10:49 AM
Try creating a link and using the address of:

mailto:someone@somewhere.com

venerable bede
Oct 15th, 2002, 11:12 AM
It's a windows application.

mralston
Dec 6th, 2002, 05:24 AM
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?Dim oProcess As New Process()
oProcess.Start("mailto:somebody@somewhere.net")You can all the usual other stuff at the end of the link too, like ?subject=...&body=...

Athley
Dec 6th, 2002, 07:54 AM
You actually dont have to instantiate the object ....

System.Diagnostics.Process.Start("mailto:anath@supportcenter.se")

...is enough

mralston
Dec 6th, 2002, 05:29 PM
Fair 'nuff.