Results 1 to 6 of 6

Thread: Opening Outlook - Sending an email

  1. #1

    Thread Starter
    Fanatic Member venerable bede's Avatar
    Join Date
    Sep 2002
    Location
    The mystic land of Geordies
    Posts
    1,018

    Opening Outlook - Sending an email

    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

    Parksie

  2. #2
    New Member
    Join Date
    Feb 2000
    Posts
    4
    Try creating a link and using the address of:

    mailto:[email protected]

  3. #3

    Thread Starter
    Fanatic Member venerable bede's Avatar
    Join Date
    Sep 2002
    Location
    The mystic land of Geordies
    Posts
    1,018
    It's a windows application.

    Parksie

  4. #4
    Addicted Member mralston's Avatar
    Join Date
    Aug 2002
    Location
    Altrincham Nr Manchester, England
    Posts
    141
    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?
    Code:
    Dim oProcess As New Process()
    oProcess.Start("mailto:[email protected]")
    You can all the usual other stuff at the end of the link too, like ?subject=...&body=...

  5. #5
    Registered User
    Join Date
    Nov 2002
    Location
    Växjö, Sweden
    Posts
    314
    You actually dont have to instantiate the object ....

    System.Diagnostics.Process.Start("mailto:[email protected]")

    ...is enough

  6. #6
    Addicted Member mralston's Avatar
    Join Date
    Aug 2002
    Location
    Altrincham Nr Manchester, England
    Posts
    141
    Fair 'nuff.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width