Sending an email with CC field populated with Java script
Sep 10, 2015
Hello everyone,
So I'm building a course which essentially acts as an online training directory.
Im using the send email code from the link below which works perfectly for acting as an enrollment request function.
http://en-uk.articulate.com/support/storyline/javascript-best-practices-and-examples
here's the actual code:
var email="yourAddress@email.com";
var subject="subject line";
var body_start="How you want to begin your body.";
var mailto_link='mailto:'+email+'?subject='+subject+'&body='+body_start;
win=window.open(mailto_link,'emailWin');
The question is, i'd love it if someone could modify it so it can "cc" in the delegate's manager when sending the request. Failing that, add a second email address to the "To" field in.
I'm using storyline 1 and outlook 2013
Any help would be appreciated.
Thanks
1 Reply
Hi, Dave -- Welcome to the community!
You may already be aware of this, but I wanted to note that although we are not able to provide support for JavaScript, you may want to review this information on JavaScript Best Practices.
I would bet that one of our JS gurus in the community will be able to chime in and assist you further. :)
This discussion is closed. You can start a new discussion or contact Articulate Support.