How to Launch the Default e-Mail Agent - VB2005

Discussion in 'ASP .Net' started by Larry Rebich, Nov 18, 2006.

  1. Larry Rebich

    Larry Rebich Guest

    How do I launch the default e-mail agent using Asp.Net 2.0 and VB 2005?

    I have a button on the page called 'Send e-Mail'.

    I want to launch the user's default e-mail agent.

    The message will contain a send to address, subject and text. No attachments
    will be sent.

    Thanks,
    Larry Rebich
     
    Larry Rebich, Nov 18, 2006
    #1
    1. Advertisements

  2. Larry Rebich

    Mark Rae Guest

    "Larry Rebich" <> wrote in message
    news:x8H7h.7047$...

    > How do I launch the default e-mail agent using Asp.Net 2.0 and VB 2005?
    >
    > I have a button on the page called 'Send e-Mail'.
    >
    > I want to launch the user's default e-mail agent.
    >
    > The message will contain a send to address, subject and text. No
    > attachments will be sent.


    All you need is mailto
    http://www.google.co.uk/search?sour...GLG,GGLG:2006-28,GGLG:en&q=html+mailto+syntax

    However, remember that if your page is going to be on the public Internet,
    you should find some way of obfuscating the actual email address, or it'll
    get spammed from now till doomsday...
     
    Mark Rae, Nov 18, 2006
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Aaron
    Replies:
    0
    Views:
    539
    Aaron
    Jan 1, 2006
  2. =?ISO-8859-1?Q?Andr=E9s_Berenguer?=

    Sending e-mail with attachments with the default e-mail client

    =?ISO-8859-1?Q?Andr=E9s_Berenguer?=, Aug 29, 2003, in forum: Java
    Replies:
    0
    Views:
    638
    =?ISO-8859-1?Q?Andr=E9s_Berenguer?=
    Aug 29, 2003
  3. gmcclary

    OT question: mail agent?

    gmcclary, Nov 12, 2003, in forum: HTML
    Replies:
    8
    Views:
    440
    Bagman
    Nov 13, 2003
  4. Omar Abid

    VB2005 EXPRESS

    Omar Abid, Sep 2, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    485
    Ken Cox [Microsoft MVP]
    Sep 3, 2006
  5. JulioNobre
    Replies:
    0
    Views:
    7,535
    JulioNobre
    Sep 26, 2006
  6. Joseph  Gruber

    VB2005 - Untrusted Location

    Joseph Gruber, Mar 17, 2007, in forum: ASP .Net
    Replies:
    4
    Views:
    473
    Tom Dacon
    Mar 17, 2007
  7. dancer

    Translate C# to VB2005

    dancer, May 21, 2007, in forum: ASP .Net
    Replies:
    4
    Views:
    671
    dancer
    May 22, 2007
  8. Ramon
    Replies:
    2
    Views:
    1,217
    Ramon
    Oct 25, 2007
Loading...