Skip to main content
September 17, 2008
Question

Can't send results to BLANK email address in SWF

  • September 17, 2008
  • 2 replies
  • 779 views
We have many different customers that want the quiz results sent to them. If I leave the email address blank on the Quiz Preferences window, Outlook automatically opens and email with a blank TO: field and the results in the body, and the user types the email address of the recipient before sending results. This works great when published as an .EXE.

However, when I publish as an .SWF and place in a browser, I press the Send E-mail button and get the following message:

This form is being submitted using e-mail.
Submitting this form will reveal your e-mail address to the recipient, and will send the form data without encrypting it for privacy.

You may continue or cancel this submission.
---OK--- --Cancel--

I select OK and nothing happens.

I just wanted the system to open Outlook like it did when ran as an EXE.

Any ideas?


This topic has been closed for replies.

2 replies

Participating Frequently
September 18, 2008
As Rick mentioned, browser-based submission of e-mail results seldom works due to security restrictions in the browser and operating system.

If you're sure it's an issue with a blank address, you might try using a generic e-mail address in Captivate like the following:

SPECIFY_EMAIL_RECIPIENT_HERE@yourcompany.com
September 23, 2008
Well I appreciate the suggestions, however, it still didn't work. Go figure.

When I added the "generic" email address for sending the quiz and republished to the Internet, the system sends the email on my behalf without opening Outlook. I don't have a chance to address the email myself. I don't even know where it goes, IF it even goes anywhere.

I still have no problems getting it to run correctly when I burn it on a CD and use .EXEs. I wait to see what Captivate 4 has and hopefully they address this huge problem. I did submit this as a bug.

Thanks for your suggestions.
Participating Frequently
September 25, 2008
Assuming your problem lies in HTM/SWF published files, you can hack the sendMail() function on/around line 28 of the email_body.htm or email_attachment.htm template files (depending on which reporting method you select in the Quiz Properties) to prompt the user for the correct username.

However, the built-in Prompt() method may not work in IE7 and later, per the following note on the MSDN website:

In Windows Internet Explorer 7 and later the Prompt() method is blocked by the information bar in the Internet zone. This helps prevent malicious sites from initiating spoofing attacks.

If that turns out to be a show-stopper, you'd have to build your own solution for gathering the e-mail address using a combination of DHTML and Javascript.

Assuming you're willing to give it a try, the template files can be found in:

C:\Program Files\Adobe\Adobe Captivate 3\Templates\Publish

Example code using the Prompt() method is shown below:
Captiv8r
Legend
September 18, 2008
Hi there kozzee

Unfortunately E-Mail is fraught with a plethora of issues. There is no solution. Try performing a brief search of these forums and you will likely find post after post citing issues with E-Mail reporting.

Definitely report it to Adobe as a bug. You do this using the Wish Form.

Click here to view the WishForm/Bug Reporting Form

Cheers... Rick