Important information: This version of the widget is no longer available. Please go here Email Reporting Widget v2.0 for the latest version.
Widget updated 03/31/11: Support for ASP added, support for up to 14 custom variables added, support for sending a copy of the email to the student added, fix to allow scaling of Captivate projects with widgets implemented, reformatted the time completed variable to comply with the HH:MM:SS standard, added rounding to two decimals for the score percentage variable.
What does it do?:
The Email Reporting Widget for Adobe Captivate 4 and Adobe Captivate 5 will automatically send an email with quizzing, access and other information to an admin email-address that the developer specifies in the widget parameters. It is also possible to have the widget send a copy of the email to the student. The Widget uses a PHP / ASP script to send the email in the background and the user will not notice or need to take any action in order to send the email.
In addition to sending the variables concerning quiz data from Captivate you also have the possibility to send up to 14 user defined variables / custom variables from Captivate.
How does it work?:
The developer inserts the Email Reporting Widget either on the quiz summary slide or on any slide after the quiz summmary slide. You could also use this widget to record access data and time spent in a project without quizzes. In that case simply insert the widget on your last Captivate slide.
The widget parameters tab contains three required fields:
The Admin email field defines the email address where you want the Widget to send the email.
The Email subject field defines the subject of the email.
The Sender email field defines the from email address that will appear in the email you receive.
The Send copy to student is disabled by default. If this boxed is ticked then the widget will send a copy of the email to the student as well. The student email is retrieved from the custom Captivate variable v_email, so in order for this to work you (the developer) will need to populate this variable. Follow the instruction for setting up a Text Entry Box below.
Once you have set up these parameters and inserted the widget then the final thing you need to do is to add a Text Entry Box in your Captivate project where the user can enter his name / employee number or other type of ID so you can identify the user. The Text Entry Box needs to be associated with a variable called v_userid. If you want to have the student receive a copy of the email then you should also set up a Text Entry Box so the student can enter their email address and associate that with the variable v_email.
This concludes the work you need to do in Adobe Captivate. The next step is to publish your project and then manually copy the sendmail.php or sendmail.asp file to the directory where you published your files to. Upload all files to your webserver / LMS that runs PHP / ASP and you are all set.
Demonstration:
I have added a live demonstration so you can test what the widget outputs. Click below to open the live demonstration.
A screenshot of the output recieved by email can be seen below.

Requirements:
Adobe Captivate 4 or Adobe Captivate 5, minimum Flash Player 9 and PHP or ASP installed on your server. Your Adobe Captivate 4 project needs to be published to AS3.
Specifically about the ASP version: I do not have any means to test the ASP version myself. The ASP Script have been converted from PHP to ASP by Christopher Haigood. The ASP script uses the “System.Web.Mail” namespace so this would need to be enabled and functional on your ASP server. If you have ASP skills yourself then you can easily modify or create a new ASPX script to handle the sending of the email using your preferred method. All the variable names are available in the current sendmail.asp script.
Test package to verify the widget will work for you:
In order to make sure that this widget will work on your system / setup you can download a special test package here. This package contains a Captivate project, some Flash coding and a PHP file. All you need to do is to edit the PHP file and insert your own email address and then upload all the files to the server / LMS where you intend to run your Captivate project from.
Currently there is no test package available for the ASP version. I’m working on figuring out how to provide a test package for the ASP version.
Limitations:
PHP:
As far as I am aware of there are no know limitations of this widget other than the fact that you server needs to run PHP. Most webhosts already have PHP running on the server.
ASP:
Requires “System.Web.Mail” namespace.
In addition – prior to buying the widget you should have (hopefully) used the test package to see if your server would send you an email.
Package contents:
Two widgets for Adobe Captivate 4 and Adobe Captivate 5(One PHP version and one ASP version), two PHP files, one ASP file and a help document.
Buy the Widget:
This version of the widget is no longer available. Please go here Email Reporting Widget v2.0 for the latest version.
Frequently asked questions:
Question: When I insert the component in Adobe Captivate all I see is a blank box. Is that normal?
Answer: Yes that is perfectly normal. In Edit view in Adobe Captivate all you get is a blank box. It will also be blank when the user runs your project since the widget only affects things in the background.
Question: Can I capture the individual answers to each question in Captivate with this widget?
Answer: No. The widget will capture the overall quiz scores and properties but not the individual answers to each questions.
Question: What’s all this license stuff? I just want to use it in my projects?
Answer: The license stuff is actually pretty simple. If you want to use this component in your projects (personal or professionally) then in 90% of the cases you just need to buy the Single User License. This license can be used by you in any number of projects for any number of users. The projects can be personal or for the company where you work. However, the projects need to be used internally in the company where you work. You cannot add this component to a course / project that you intend to resale to an external client. In that case you would need to re-purchase the Single User License again per external project.
The Multiple User License is just like above, but here all your developers in your company can use it. What if you are only 3 developers? Well then just buy 3 x Single User Licenses. If you are more than 5 people that needs to use it then the Multiple User License is cheaper for you.
The Enterprise License gives you the right to use the component in all your courses – internal or external, resale or giveaways you name it.
Question: Can I use this component together with the TOC in Adobe Captivate 4 and Adobe Captivate 5?
Answer: Yes that is no problem
Question: Can I use this widget in projects that are using the Aggregator.
Answer: Yes that is no problem but the widget will not be able to aggregate scores from multiple quizzes if they are published in separate SWF files.
Question: Can I use this component in a course delivered through an LMS?
Answer: Yes provided that your LMS runs from a PHP enabled server.
Question: I cannot see the Widget Parameters tab when I have inserted the widget in Captivate.
Answer: Chances are that you imported it as an “Animation” by mistake. Try and import the widget again as a widget.
Question: What if I buy it and it doesn’t work. Can I get a refund?
Answer: No if you purchase the product you can’t get a refund since it’s a digital delivery. The component has been tested extensively on all types of systems, browsers etc. without any issues. If you are unsure if the component will work for you or not then use the Test Package provided for download further up in this post to make sure first.
Question: Can you help me install PHP on my server?
Answer: No unfortunately not. There are people way cleverer than me that can do this for you.
Question: I would like to have some modifications done to the widget – is that possible?
Answer: Sure thing – just send me an email through my sites www.cpguru.com contact form and we can work out the details.




Pingback: Back in business | CP Guru - Adobe Captivate E-learning Blog
Pingback: AS3 Email Reporting Widget updated | CP Guru - Adobe Captivate E-learning Blog
Pingback: Can Symphony event accept variables from SWF | PHP World
Pingback: Adobe Captivate 5.5 and Widgets | CP Guru - Adobe Captivate Widgets