Hi all, I am emailing automatically at the end of the course and many thanks to all the posts, I can do this, now comes the tricky part. I would like the email to insert the name of the person from the course into the subject line or body of the email.
You cannot run JavaScript on your local computer, you need to upload the published story to a web server.
Once you upload the output, it will work. Unfortunately, you cannot control a local mail program with web based scripting, that will be a major security leak.
If this has worked for you, please confirm as correct answer so other will see it works.
Thanks Lawrie for chiming back in here, and it looks like Dennis may have solved the situation for you. If so, let us know and I'll be able to verify the answer.
10 Replies
Hi Lawrie:
I assume you have created one of more variables for the persons name. If that is completed, check out my earlier post here:
http://community.articulate.com/forums/p/25924/200551.aspx#200551
Scroll all the way to the bottom and download the Contact_Form.story file.
In this contact form, I have the user inset their name and such. The JavaScript then creates a formatted email that you can test after publishing.
Best Regards,
Dennis Hall
Hi Lawrie,
It looks like Dennis is helping you out here, but if you need anything else just let us know.
Thanks Dennis,
I will check this out now.
Regards
Lawrie
Reg
Hi Dennis,
Can't seem to get it to send an email. I have changed the email address and haven't touched anything but I have been known to break things.
Regards
Lawrie
Thanks Ashley,
I really haven't done anything with JavaScript so a little bit of a learning experience here as well.
Regards
Lawrie
Thanks Dennis,
You are my hero. Is there any scripting to automatically send the email?
Regards
Lawrie
Hi Lawrie:
You cannot run JavaScript on your local computer, you need to upload the published story to a web server.
Once you upload the output, it will work. Unfortunately, you cannot control a local mail program with web based scripting, that will be a major security leak.
If this has worked for you, please confirm as correct answer so other will see it works.
Best Regards,
Dennis Hall
Thanks Lawrie for chiming back in here, and it looks like Dennis may have solved the situation for you. If so, let us know and I'll be able to verify the answer.
Thanks Dennis and Ashley,
All good. Just the automatic sending of the email is my only issue and if that can't be done, I can live with it.
Having the time of my life at the moment.
Regards
Lawrie
Thanks Lawrie for the update, and glad you're enjoying it! That's what it's all about.
This discussion is closed. You can start a new discussion or contact Articulate Support.