Skip to main content
Inspiring
February 14, 2017
Answered

HTML5 Send email to

  • February 14, 2017
  • 1 reply
  • 486 views

Hello all,

I currently have a button which on success is set to 'send e-mail to'. Although this works as flash, it doesn't work as html5. Seems odd as to why such a simple feature wouldn't work. Am I doing something wrong? Can anybody help?

Many thanks in advance.

This topic has been closed for replies.
Correct answer deniznasif

It's very annoying that there are problems with what should be such a standard feature. Anyway, here's a little script that solves the issue:

window.open('mailto:test@example.com');

1 reply

RodWard
Community Expert
Community Expert
February 14, 2017

That action doesn't actually SEND an email WITHOUT user intervention.  All it is supposed to do is trigger your current email client to open with a new blank email that YOU would then need to complete and manually send to the intended recipient.  It's really just reacting to a the equivalent of a mailto: link.

That's what it WAS supposed to do and what it USED to do in earlier versions of Captivate.  However, what I'm noticing now is that all it does is open a new browser window, not a new email from your email client.

So either something is broken in Captivate or else there has been a security change to the way the mailto: link works.

deniznasifAuthorCorrect answer
Inspiring
February 14, 2017

It's very annoying that there are problems with what should be such a standard feature. Anyway, here's a little script that solves the issue:

window.open('mailto:test@example.com');