Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Open Email client on Cleints Machine

Posted on 2014-01-17
1
Medium Priority
?
351 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
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…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
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

715 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