Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

HTML5 Send email to

Explorer ,
Feb 13, 2017 Feb 13, 2017

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.

446
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Feb 14, 2017 Feb 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');

Translate
Community Expert ,
Feb 13, 2017 Feb 13, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 14, 2017 Feb 14, 2017
LATEST

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');

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources