Results 1 to 4 of 4

Thread: email link (basic noob question)

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Feb 2001
    Location
    Crossroads
    Posts
    3,046

    email link (basic noob question)

    How do I put a "link" on my asp.net web page that will cause the default mail app (Outlook, etc) to come up with my email address in the "To" block?

  2. #2
    Fanatic Member Redth's Avatar
    Join Date
    May 2001
    Location
    Ontario, Canada
    Posts
    551
    <a href="mailto:[email protected]">Click Here to Email [email protected]</a>

    You can do some other things like set the subject and such from the link:

    <a href="mailto:[email protected]?Subject=Question">Click Here to Email [email protected]</a>


  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Feb 2001
    Location
    Crossroads
    Posts
    3,046
    Originally posted by Redth
    <a href="mailto:[email protected]">Click Here to Email [email protected]</a>

    You can do some other things like set the subject and such from the link:

    <a href="mailto:[email protected]?Subject=Question">Click Here to Email [email protected]</a>

    Thanks! This worked great editing the HTML. How would I accomplish the same thing with "drag/drop" in the Design mode?

  4. #4
    Fanatic Member Redth's Avatar
    Join Date
    May 2001
    Location
    Ontario, Canada
    Posts
    551
    try dragging a hyperlink onto the form..

    now set the NavigateURL to "mailto:[email protected]"

    it's the same as the href="" property in the html tag ...

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