Hyperlink to create an already written email

David Tyler

14 posts

Posted Monday, January 09, 2012 at 2:51 PM  

Ok, friends. I'll try to make this an easy question. I want to be able to click a hyperlink on a published slide that launches a student's native email. I have used this a ton. My problem is that I want to fill in some information for them.

 

I want a subject line to be pre-filled and I want to include a list so it would look something like this:

 

To: (already populated)  jdoe@gack.com

Subject: (already populated)  Warning

Body: (already populated)

 

Do this

Then do this

Now do this

 

So here is what I have figured out...I highlight the text I want as the hyperlink...right click, select email, fill in address, subject...ok ok I get that...I also figured out that if I add &body= to the end of the subject I want I can get my email text to auto populate as well, but I can't figure out how to get it to have a "return" so I can make my list...

Can anyone tell me if it is poss to create a list in the field named "subject" by adding some html or something?

I want the email to have returns like my list above...not just a long sentence. All I seem to be able to figure out is how to autopop a really long sentence with no formatting...


This post has 1 verified answers

Verified Answers

Jeanette Brooks

3,630 posts

Posted Tuesday, January 10, 2012 at 3:38 AM  

Verified Answer

Hi David & Blair,

 

At the point where you want a hard return in the body of your email, try adding %0d, and then your new line of text.

 

So for example if I use the following for my hyperlink:

Then when I publish my course and the user clicks on the hyperlink, it'll create an email that looks like this:

(Also, for any others who happen to be reading this and need a quick look at the basics of how to create a hyperlink that sends an email, David's screencast here is a really good one.)

 

Hope that helps!

 


All Replies

blair parkin

287 posts

Posted Monday, January 09, 2012 at 4:00 PM  

David, I'm not an html whiz but what happens if you add "
" to the end of the sentence


Jeanette Brooks

3,630 posts

Posted Tuesday, January 10, 2012 at 3:38 AM  

Verified Answer

Hi David & Blair,

 

At the point where you want a hard return in the body of your email, try adding %0d, and then your new line of text.

 

So for example if I use the following for my hyperlink:

Then when I publish my course and the user clicks on the hyperlink, it'll create an email that looks like this:

(Also, for any others who happen to be reading this and need a quick look at the basics of how to create a hyperlink that sends an email, David's screencast here is a really good one.)

 

Hope that helps!

 


User Rank Natalia Mueller

709 posts

Posted Tuesday, January 10, 2012 at 6:36 AM  

Oh wow. Thank you, Jeanette. And thank you for including David's screenr. I'm going to present this to my team as a course feedback option.


David Tyler

14 posts

Posted Tuesday, January 10, 2012 at 6:38 AM  

This looks great...I'll give it a try this morning. Thank you Jeanette and blair.

 

Dave


User Rank David Anderson

3,246 posts

Posted Tuesday, January 10, 2012 at 6:47 AM  

Natalia Spurgin said:

Oh wow. Thank you, Jeanette. And thank you for including David's screenr. I'm going to present this to my team as a course feedback option.


Natalia - Even I forgot about that one... And I recorded it:-/


Posted Tuesday, August 28, 2012 at 10:31 AM  

I am using the following code in the address bar to get some text and body in the email. This hyperlink is on the fail screen of the quizmaker.

 

Mailto:abc@xyz.com?Subject=Exceeded 2 attempts&body=Hey Coach, I was unable to pass the practice test after 2 attempts. Below is my method of contact along with any details I'd like to discuss.%0dThank you.

 

And this is the output:
Subject line:  exceeded 2 attempts
Body of email:
hey coach, i was unable to pass the practice test after 2 attempts.below is my method of contact along with any details i'd like to discuss.
thank you.

 

I am not able to figure out how to get capitals into the code. Can anyone help please?


Jeanette Brooks

3,630 posts

Posted Tuesday, August 28, 2012 at 1:37 PM  

Hi Sushmita, that's kind of strange - I wasn't able to reproduce the issue in Quizmaker (nor Presenter) - when I use that same hyperlink text it produces an email with mixed case as expected. You're welcome to upload your project files to our support team so they can take a closer look and help troubleshoot. In the meantime, I did see this post from Lori who experienced a similar issue, and she was able to work around it by branching learners to a Presenter slide if they fail, and inserting the hyperlink on a Presenter slide instead. Perhaps that will help?


Karen Loftus

85 posts

Posted Tuesday, August 28, 2012 at 8:41 PM  

 

Jeanette - brilliant solution! & David, thanks for prompting the email idea!

 

Jeanette Brooks said:

So for example if I use the following for my hyperlink:



Carmen Toro

32 posts

Posted Wednesday, September 12, 2012 at 5:20 AM  

How can I change the mail subject from an email that is generated from the email button within the Articulate Presenter player templates. We use the Email button with a label "Contact Us" for users to submit questions etc. to us. We want the subject of the email to be prepopulated with the name of the module. Is it possible to do this within the Player Template? Thanks!

 


Carmen Toro

32 posts

Posted Wednesday, September 12, 2012 at 5:57 AM  

So I figured out most of it. I changed the code in the presentation.xml to ?subject=SNAP Refresher-Income Deductions]]>

 

The mail subject populates correctly but on the button in Articulate part of the code is displayed. Screenshot is attached. How do I get rid of the extra text on the button? 

 

 


email button.png
Carmen Toro

32 posts

Posted Wednesday, September 12, 2012 at 6:08 AM  

ok I figured it out again, all I needed was a space in between the email addresses and the subject information. Hopefully this will help someone else.

 

?subject=SNAP Refresher-Income Deductions]]>


Geert De Rycke

657 posts

Posted Saturday, September 22, 2012 at 6:51 AM  

Hi all

 

This something I use in  trigger that launches a java script

It enables you to write an email on the fly in SL

 

Geert

 

Static email body

Launch new email message

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');

 

This is a version of a dynamically made email body

Launch new dynamic email message

var player = GetPlayer();
var email=player.GetVar("email");
var subject="Your Subject";
var body_start=player.GetVar("notes");
var mailto_link='mailto:'+email+'?subject='+subject+'&body='+escape(body_start);
win=window.open(mailto_link,'emailWin');

 

* be aware, that the variables email & notes need to be defined in your project

** if you do not escape your body text, the all will be glued together


Mica Bell

4 posts

Posted Thursday, March 28, 2013 at 6:43 AM  

 

Geert De Rycke said:

Hi all

 

This something I use in  trigger that launches a java script

It enables you to write an email on the fly in SL

 

Geert

 

Static email body

Launch new email message

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');

 

This is a version of a dynamically made email body

Launch new dynamic email message

var player = GetPlayer();
var email=player.GetVar("email");
var subject="Your Subject";
var body_start=player.GetVar("notes");
var mailto_link='mailto:'+email+'?subject='+subject+'&body='+escape(body_start);
win=window.open(mailto_link,'emailWin');

 

* be aware, that the variables email & notes need to be defined in your project

** if you do not escape your body text, the all will be glued together



The above dynamic version is working well for me for the most part. However, I'd like to include the variable for the quiz score. (Mine shows up in Variables as: "Results.ScorePercent"). When I add the quiz score variable, it does nothing. I'd also like to add a line break between each variable. I tried to use %0d as Jeanette suggested, but it doesn't work for me.  Any ideas?

 


Posted Friday, May 23, 2014 at 11:37 AM  

Jeanette Brooks said:

Hi David & Blair,

 

At the point where you want a hard return in the body of your email, try adding %0d, and then your new line of text.

 

So for example if I use the following for my hyperlink:

Then when I publish my course and the user clicks on the hyperlink, it'll create an email that looks like this:

(Also, for any others who happen to be reading this and need a quick look at the basics of how to create a hyperlink that sends an email, David's screencast here is a really good one.)

 

Hope that helps!

 



Hyperlink for email response to questions.

I would like to set up a link to an email for prospective response. Is it possible to ask a few questions within the email that they can check off?