# Power table with email Link

**URL:** <https://forum.inductiveautomation.com/t/power-table-with-email-link/40167>\
**Category:** Ignition\
**Tags:** database, ignition80\
**Created:** [October 30, 2020, 1:00pm UTC](https://forum.inductiveautomation.com/t/power-table-with-email-link/40167 "2020-10-30T13:00:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgonya](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jgonya/32/9304_2.png) [@jgonya](https://forum.inductiveautomation.com/u/jgonya)\
**Post date:** [October 30, 2020, 1:00pm UTC](https://forum.inductiveautomation.com/t/power-table-with-email-link/40167/1 "2020-10-30T13:00:06Z")

</div>

Hello all,  
I have a question. Is there a way to click on an email on a power table in vision and the default action happens. Like if I’m on a website and click on a email, Outlook pop ups because that my default action on windows.

![Capture](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/1/3130e251051fd31a60ec3c9b3b79c1e28b72e6ea.png)

Thanks for your help,

---

<div class="post-metadata">

**Author:** ![MMaynard](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmaynard/32/3366_2.png) [@MMaynard](https://forum.inductiveautomation.com/u/MMaynard)\
**Post date:** [October 30, 2020, 1:24pm UTC](https://forum.inductiveautomation.com/t/power-table-with-email-link/40167/2 "2020-10-30T13:24:25Z")

</div>

In the onMousePress extension function of the power table you could do.

```
from java.awt import Desktop
from java.net import URI
if colIndex==1:
	desktop = Desktop.getDesktop()
	addr = "mailto:"+value
	desktop.mail(URI(addr))
```

---

<div class="post-metadata">

**Author:** ![jgonya](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jgonya/32/9304_2.png) [@jgonya](https://forum.inductiveautomation.com/u/jgonya)\
**Post date:** [October 30, 2020, 1:44pm UTC](https://forum.inductiveautomation.com/t/power-table-with-email-link/40167/3 "2020-10-30T13:44:43Z")

</div>

Perfect. It worked great.
