Send document from Lectora to email

Hello,
our course has multiple entry fields throughout where the user can type in their answers, which we later display on a printable page at the end course. The page is set up so user can click Print and the document will print as a takeaway. On the Print Dialogue box, the user could also select "save as a PDF" if they have that ability on their own computer. (I assume we cannot create save as a PDF option within Lectora.) So, the Client would like the option to email this document to the user, or perhaps to a manager. Does anyone know if this is possible? Thanks, Heidi
our course has multiple entry fields throughout where the user can type in their answers, which we later display on a printable page at the end course. The page is set up so user can click Print and the document will print as a takeaway. On the Print Dialogue box, the user could also select "save as a PDF" if they have that ability on their own computer. (I assume we cannot create save as a PDF option within Lectora.) So, the Client would like the option to email this document to the user, or perhaps to a manager. Does anyone know if this is possible? Thanks, Heidi
5
Categories
- 34 ✫ Announcements
- 6 ✪ Contests
- 34K eLearning Brothers® Products
- 1 AssetLibrary™
- AssetLibrary Discussions
- 1 AssetLibrary Feature Requests
- 35 CenarioVR®
- 101 CenarioVR Discussions
- 54 CenarioVR Feature Requests
- 1 CourseMill®
- 101 CourseMill Discussions
- KnowledgeLink®
- KnowledgeLink Discussions
- KnowledgeLink Feature Requests
- 62 Lectora®
- 1.1K Lectora Discussions
- 1.9K Lectora Feature Requests
- 53 Lectora User Groups
- 4 Off-the-Shelf Course Library
- 3 Off-the-Shelf Course Library Discussions
- 1 Off-the-Shelf Course Library Feature Requests
- ReviewLink®
- 21 ReviewLink Discussions
- 12 ReviewLink Suggestions
- 1 The Training Arcade®
- 1 The Training Arcade Discussions
- The Training Arcade Feature Requests
- 7 Additional Learning Products
- 2 Adobe®
- 2 Articulate®
- 1 Camtasia®
- Docebo®
- 1 iSpring®
- 1 Microsoft® PowerPoint®
- 288 All Things eLearning
- 3 Course Development Showcase
- 1 eLearning Brothers® Downloads
- 1 Compliance Training
- 4 eLearning Development
- eLearning Game Design
- 7 Instructional Design
- 264 Learning Management System (LMS) Integration
- 2 Mobile Learning
- 2 Visual Design
- 317 Web Accessibility
- 579 ♪ The Green Room
- 2 ♡ Community Feedback
The Big Launch - Exciting News From eLearning Brothers
eLearning Brothers is all set to rock the eLearning world in 2021, and we want to let you in on the plans! Join us for The Big Launch event, where you’ll hear from company leaders like Andrew Scivally, Co-founder and CEO, Christian Weibell, CPO, and more special guest stars. We’ve got a lot of eLearning awesomeness up our sleeve—you won’t want to miss The Big Launch.
REGISTER NOW
Comments
Otherwise, IF they print to PDF, the actual PDF creation is handled outside of Lectora. It will ask them to save the PDF file, which they could then locate and email, or save to a shared file location. I don't think you can email it from there. Or you can create a certificate using KnowledgeLink (our LMS) - not sure if you use that but it's a great product.
I got some help from my teammates:
Lectora does have the certificate tool which creates a page with desired student details presented. The user can perform the same print or save as pdf to retain the certificate. There is just no way to automatically attach this doc to an email and send it from the user's system.
I think you would be able to append a 'emailmanagervariable' with the information and auto add that to the body of a mailto javascript function.
I haven't tried this, and can't. We don't use xAPI at my company.
Let me check my code...
Using SMTPJS script to mail directly without a users email-client..
var studentNaam = VarstudentNaam.getValue();
var mailAdress = VarmailAdress2.getValue()
sendEmail(mailAdress,studentNaam,"my subject","my email text");
function sendEmail(_to,_from,_subject,_body){
Email.send({
Host : "smtp.gmail.com",
Username : "************",
Password : "***********",
To : _to,
From : "from [email protected]",
Subject : _subject+" van: "+_from,
Body : _body
}).then(
function(value) {
console.log(value);
TweenMax.to($(".response", getDisplayDocument()), 0.5, {autoAlpha:1})
}
);
}
So basically you can add any file here...
Regards,
Math
BTW, this does not have anything to do with a Certificate and the client does not have an LRS and we cannot use a google doc, so the xAPI will not help.
I convinced the client to accept the option Print to PDF (which most users have nowadays), but I wish there was an easy want to send info from Lectora via email.