email link does not work

I am using Lectora 18.2.1.

I want to link to email. However it doesn't work.

I made a button and added a code as below.

Name: OnMClkRunJS

Trigger: Mouse Click

Action : Run Javascript

mailto:you@yourdmainhere.com

Please check this.

Thanks!

Aenglan

Discussion (2)

I added the code and it works!!!

Thank you!!!!

Try this: (Action on the Button)

Trigger: Mouse Click

Action : Run Javascript

function sendEmail()

{

window.location = "mailto:xyz@abc.com";

}

sendEmail();