Solved

Open Email client on Cleints Machine

Posted on 2014-01-17
1
345 Views
Last Modified: 2014-01-17
I am using vb.net 2008. I have a page with a gridview with names and emails.
When the client clicks a row I want to open the clients default email with the
To field and Subject Field populated. I use the code below but it looks like it opens the
default email client on the server not on the clients machine.
Dim theStringBuilder As New System.Text.StringBuilder()
        theStringBuilder.Append("mailto:" & gvMembers.SelectedRow.Cells(4).Text)
        theStringBuilder.Append("&subject=")
        theStringBuilder.Append("")
        System.Diagnostics.Process.Start(theStringBuilder.ToString())
How do you open the email client on the clients amchine?

Thanks
0
Comment
Question by:whiwex
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
whiwex earned 0 total points
ID: 39789148
I found this and it resolved my problem.
<asp:HyperLink ID="linkEmail" runat="server" Text='<%#Eval("Email") %>' NavigateUrl='<%# getMailTo(Eval("Email"),Eval("Cc"),Eval("Subject"),Eval("Body")) %>' />

Thanks
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question