sending an email when a user clicks a button

I want to create a trigger that automaticallhy sends and email to our learning and dvelopment team when a user does something in a course but I'm having trouble with the syntax.

If i set the trigger to mail to,  and enter the email address I can get it to launch outlook but it won't populate the send to, subject or body fields.

I want it to send to a particular address with the following

subject - I reviewed the application

body - I'm going to work on the project now

any help with the html would be appreciated.

31 Replies
Jeanette Brooks

Hi Ari, one way to do it would be to use the "Jump to URL/File" trigger on your button, and for the URL, use the code generated from this little tool: http://email.about.com/library/misc/blmailto_encoder.htm 

When you apply the Jump To URL/File trigger, you'll also be able to click the little globe icon to set the browser window properties, and you'll probably want to use "Display in current browser window."

Jeanette Brooks

Hi Isa, unfortunately there isn't a turn-key feature that allows you to email results from a quiz or survey in Storyline. There's really no way to transmit results reliably and consistently via email, because there are so many limitations related to different users' security settings and email clients.

If you need to report or track results from quiz or survey questions, you'd want to explore using a SCORM- or AICC-compliant LMS, or Articulate Online. If cost is a concern, there are quite a few free LMS options out there... here are a few you could explore:

   *  Dokeos:  http://daveperso.mediaenglishonline.com/2009/10/29/getting-your-own-lms-part-1-dokeos-campus/

   *  eFront:  http://daveperso.mediaenglishonline.com/2009/12/23/getting-your-own-lms-part-2-efront/

   *  Docebo:  http://daveperso.mediaenglishonline.com/2010/01/22/getting-your-own-lms-part-3-docebo/

   *  Moodle:  http://www.mozealous.com/upload-and-track-a-quizmaker-09-quiz-in-moodle/

Jeanette Brooks

Hi Sharyn! I'm not a Lotus Notes user but I do know that product doesn't allow JavaScripts or HTML submits, so that's likely why it's choking on the mailto: trigger. If you want learners to email something, you might need to just provide onscreen instructions for them rather than use a button and trigger.

Ari Avivi

I'm not sure Mara,

We need it sent to one central address so haven't thought about it.  I would wager that if you wanted to have a range of options the best way to do it would be to create a button for each one.  i.e. click here to send to craig, click here to send to Tamara etc.

That way you avoid user entered erros on emails.

hope this helps.

r.e.

Tamara Robertson

Ari Avivi said:

I'm not sure Mara,

We need it sent to one central address so haven't thought about it.  I would wager that if you wanted to have a range of options the best way to do it would be to create a button for each one.  i.e. click here to send to craig, click here to send to Tamara etc.

That way you avoid user entered erros on emails.

hope this helps.

r.e.


Thanks   What I'm trying to do though is set it to send an email through to a person's manager.  At the start of the course they will enter their own name, email address, and their manager's name and email address.  These variables will be used then in the email to be sent.  We have so very very many managers and employees that I'd probably have a couple of hundred buttons otherwise, and I'd have to update it every time we had staff turnover.

The basic premise behind this is that whilst my LMS can capture the completion of the elearning course, the staff member also needs to complete a word document for government reporting purposes, and save it in a separate location (i.e. not on the LMS, and different location for each department etc.).  Whilst the LMS can generate reports about who has completed the e-learning, it can't capture the document completion.  What i want to be able to do is send an automated email to the manager when the user clicks the button to open the declaration, that says something along the lines of "Person XXXX has undertaken the e-learning.  Please confirm the declaration form has been completed blah blah blah)."  Btw - the course cannot be completed without clicking the declaration form link - it's just the problem of not being able to confirm they've actually done anything with the form.  And yes - I know there are probably heaps of different options re online completion of the document, using PDF, electronic signatures, however at the moment I am 100% restricted to a microsoft word document that is manually saved in one of a defined number of locations.

Sorry... but maybe that might give more info to kick start me in the right direction?  Or at least to tell me "no chance!"

Cheers and thanks! Mara

Alex Y

Hi Everyone,

So I was searching through the forums and came across this thread.  What I'm trying to do is provide a way for beta testers of courses conducting QA, to provide feedback on a particular slide should they encounter any errors or other issues.

I'm thinking this could work, but will need a bit of tweaking in the sense that I'd need to pull some variables from the course itself (i.e. slide number, course name, etc...).

So with that in mind, could anyone tell me what the code would be to pull variables like slide # or course name would be so that I could embed that information in to a mailto URL?

Thanks!

Alicia Blitz

Ari Avivi said:

Hello Meg,

http://www.cha4mot.com/t_mailto.html

I just checked this link and it is really slick for generating the url.

Hope this helps.


Thanks Ari for the great site. I did use this generator to create the url which worked perfectly opening an email when just clicking on it as a link.

But, it doesn't do anything when I use the Jump to URL trigger in Storyline. I modified the size so it was below the maximum allowable Articulate threshhold and still nothing. Any ideas?

I don't need anything fancy, just need an email from the user will indicate they have completed the course.

Matthew Bibby

Alex - you could do this without pulling variables if you don't mind a bit of repetition. Here's one approach:

  • Add a 'Provide Feedback' button to each slide
  • Set the button to Jump to URL and provide a link like 'mailto:youremailaddressgoeshere@email.com?Subject=Feedback%20on%20Slide%201' (without the quotes).
  • Then when the button is clicked it will open a new email to you with the subject line 'Feedback on Slide 1' and the QA team can enter feedback and press send.
  • Copy this button to each slide and just change the slide number in the URL so the subject line is correct.

Once these buttons are set up initially, you could easily copy them into any future projects pretty quickly.

Jeremy - it is possible to pull a variable from a course using javascript. I haven't tried it with email, but here is a demo of a dynamic workbook that I've set up to pull variables from a course and push them to an html document that can be printed. I'm not quite sure how to go about extending this so that the information can be emailed from that page (without involving server side stuff) but it might be possible.

Bryan Kearney

Alicia Blitz said:

Ari Avivi said:

Hello Meg,

http://www.cha4mot.com/t_mailto.html

I just checked this link and it is really slick for generating the url.

Hope this helps.


Thanks Ari for the great site. I did use this generator to create the url which worked perfectly opening an email when just clicking on it as a link.

But, it doesn't do anything when I use the Jump to URL trigger in Storyline. I modified the size so it was below the maximum allowable Articulate threshhold and still nothing. Any ideas?

I don't need anything fancy, just need an email from the user will indicate they have completed the course.


Hi guys,

Great info on this topic but I am having the exact problem that Alicia was having. The url generates and works fine when I enter it into my browser however when I created a button it does not link. Nothing happens at all when I click it. Could it have something to do with my computer settings perhaps??