Solved

Open Email client on Cleints Machine

Posted on 2014-01-17
1
342 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

751 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