Skip to main content
abeardsl23
Inspiring
October 10, 2017
Question

Send Email onClick without opening user's mail client

  • October 10, 2017
  • 3 replies
  • 1443 views

Hello, all.  I am currently using the send email action as the success for a button click.  I have this email pre-populated, but I am struggling to find a way to have it send on the click of the button, as opposed to what it's currently doing (opening the pre-populated email, and requiring the user to click send).

Any way to prevent the extraneous click of 'send' in the user's mail client?

Thanks in advance.

Adam

This topic has been closed for replies.

3 replies

Known Participant
October 11, 2017

I have used a guide from Armadas e-Learning blog, where they use the Mandrill API key. Google  'Automatically send quiz results from Captivate in HTML5.

Regards,

Jacob

Legend
October 11, 2017

I like that approach.  Just making a link to the article you referenced in case others are curious.  Thanks for sharing your solution Jacob!

Best,

Jim Leichliter

Legend
October 10, 2017

Hi Adam,

You would need a server-side script to accomplish this.  As Peter suggested, a PHP file on your server could accomplish this.  I've used a combination of JavaScript and a Google spreadsheet to email the results.  Any way you look at it, if you want to send emails without the client getting involved, you'll need to custom program a server-side technology (PHP, ASP.NET, Java, ColdFusion, JS/Google Spreadsheet).  Please PM me if you need someone to custom program this.

Best,

Jim Leichliter

abeardsl23
Inspiring
October 11, 2017

Thanks, Jim.  Essentially, everything works as is.  I'm working on a blog post involving this.  I'll be posting in the next couple days, and welcome all comments, but I hope the blog finds readers in a meaningful fashion.  Stay tuned!

Inspiring
October 10, 2017

Adam,

At a guess the answer to whether or not you can remove the need for the user click to 'Send', is no.

If you could do that you would be able to have lots of fun sending rude emails from that persons email account.

I have an email sent by using a small PHP file on my server.

The PHP is called from Captivate.

The PHP sends the email using the mail function on the server.

Good luck.

Peter