1. Lisa
    Lisa avatar
    43 posts
    Member since:
    Jul 2012

    Posted 01 Aug 2012 Link to this post


    Dim EmailAddress As String
    'set EmailAddress to a value retrieved from the database dynamically
    Dim mailStr= ("mailto:" & EmailAddress)

    With mailto, does it use the customer's or the web server's default mail client to open an Outlook message?
    Also, does the web server must be able to send email through Outlook Express? If it uses the customer's mail client to send email then the web server does not need to be configured to open a message or send a message, correct?
    Somehow that code works for localhost which has Outlook but not on other web server which has Outlook Express.

  2. Ivan Zhekov
    Ivan Zhekov avatar
    651 posts

    Posted 02 Aug 2012 Link to this post

    Hi, Lisa.

    That question is a bit out of our scope, but we can answer it anyway:

    The prefix "mailto:" is a registered URI prefix that is recognized by most, if not all browsers. What it does is upon clicking the link, it will open the default e-mail program, provided that there is one.

    In addition, depending on the exact syntax of the link, the email program may populate some fields like TO, FROM, SUBJECT, BODY and others.

    Once the user clicks "send message" in the email program, the message will be processed in accordance to the users settings. If the user does not have settings, he / she will go trough a basic wizard with few steps to enter credentials, servers and other information needed to send a message.

    I hope that helps.

    Ivan Zhekov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. Lisa
    Lisa avatar
    43 posts
    Member since:
    Jul 2012

    Posted 02 Aug 2012 Link to this post

    Thank you for responding. I know what mailto does but don't know if it uses the user's default mail client or the web server's default mail client. As stated in my first thread that it works on my local machine but does not work when the code was moved to another environment. I'd appreciate if someone could fix this and answer my questions.
Back to Top