Send Email Trigger Question

Dec 15, 2016

Hello!

I know you can set a trigger to send an email to a set email address. Does anyone know if its possible for this trigger to send a pre-set email template to the address?

I'm currently working with no LMS and I want to try and use this as a work around for the time being.

Ideally send an email to a mailbox that has a template detailing the course title and space for learners name.

Any advice/hints/tips would be very welcome!

3 Replies
Dave Cox

Hi Caroline,

Yes, you can, using javascript, providing the user has an email client installed on their device, and is working with a valid user account. 

To do this, add a javascript trigger in your project. In the code window add something like this;

var subject="Enter your subject text here";
var body="Enter body text here";
window.location.href = "mailto:user@example.com?subject"+subject+"&body="+body;

This script will open the email client and paste "Enter your subject text here" into the subject line of the email and "Enter body text here" in the body of the email. It is then up to the user to press the send button to send the email.

This discussion is closed. You can start a new discussion or contact Articulate Support.