Button for users to email themselves

Posted on 2011-09-02
Medium Priority
Last Modified: 2012-05-12
Dear Experts,

I am trying to create an HTML button to allow a user to email themselves a particular link (this link will be hard coded into the code)

The email address to send the email is basically the user's network name

Can anybody help?
Question by:correlate
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
  • 4
  • 3
LVL 10

Expert Comment

ID: 36472668
Check the mailto syntax:


As for gettintg the right content into the link, what webhsite is it and how do they access it?  Obviously, you'll need something to query for the user's details.  Is it an authenticated intranet?

Author Comment

ID: 36472684
The Website is a Sharepoint 2010 Intranet, it is an authenticated intranet
LVL 10

Expert Comment

ID: 36472701
In which case, you could do two things, you could write a SharePoint webpart that gets the user's account details.  You could also use some javascript on the page to get the content of the top-right control which has the user's name in and use that to construct an email address etc.

Is the email address similar to the following:


I'll see if I can fine some code I used before to do something similar.

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

LVL 10

Accepted Solution

ImaCircularSaw earned 2000 total points
ID: 36472729
Actually, check out this link:


Looks like some really good jQuery stuff you could use to get SP parameters.  Hope this helps!
LVL 10

Expert Comment

ID: 36472734

This would also work as long as you can manipulate it to construst an email address from the information retrieved.

Author Comment

ID: 36473174
Hi Thanks for this,

I have tried using a work flow in sharepoint to achieve this, but couldnt find a way of starting the workflow when a user simply clicks either a field or a button.

I'm also wading my way through the Stackoverflow link

Author Closing Comment

ID: 37597018
Many thanks for this - the project went on hold for a bit and when it came live again I revisited this & got it to work

Featured Post

WordPress Tutorial 3: Plugins, Themes, and Widgets

The three most common changes you will make to your website involve the look (themes), the functionality (plugins), and modular elements (widgets).

In this article we will briefly define each again, and give you directions on how to install them.

Question has a verified solution.

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

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
Suggested Courses

771 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