Results 1 to 4 of 4

Thread: automatically open ms. outlook/ express

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2003
    Posts
    784

    automatically open ms. outlook/ express

    in my asp.net page there is a button,I want it automatically open ms. outlook/ express when the button clicked .. any idea?

    Thanks a lot in advance

    Regards
    Win

  2. #2
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    Re: automatically open ms. outlook/ express

    Code:
    System.Diagnostics.Process.Start("Outlook.exe")
     
    or
     
    System.Diagnostics.Process.Start("MSIMN.exe")

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2003
    Posts
    784

    Re: automatically open ms. outlook/ express

    Thanks but this will not automatically set value to "To" field in Outlook .. any idea?

    thanks

  4. #4
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    Re: automatically open ms. outlook/ express

    Right, you need to open the default E-Mail program and fill out it's fields? Okay, your easiest bet is to go with a hyperlink rather than a button and use this:

    Code:
    <A href="<A href="mailto:[email protected]?subject=ASubject&amp;body=ABody">

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

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