I have a label which is populated from a field in a database called "userEmail".
How can I set up a link so that when the user clicks on it it opens up outlook with the appropriate email address in the to field.
Printable View
I have a label which is populated from a field in a database called "userEmail".
How can I set up a link so that when the user clicks on it it opens up outlook with the appropriate email address in the to field.
You need to place mailto: in front of the email address so the link formats as:
mailto:[email protected]
DJ
You can also prepopulate other fields if required with something like mailto:[email protected]&[email protected]=Some%20Text
(mailto:[email protected]&[email protected]&Subject=Blah&Body=Some%20Text)