Viewing 15 posts - 16 through 30 (of 30 total)
  • Author
    Posts
  • #423963 Score: 1
    Profile photo of Bob Dinkins
    Bob Dinkins
    Member
    beginner
    intermediate
    lab member
    LUC17 Attendee
    wise owl
    contributor
    4 pts
    @bobdinkins

    Thanks again for the suggestion.  The MAILTO default was set to Chrome instead of Outlook.  It works now.  You are a genius!

    Bob

    This post has received 1 vote up.
    #423974 Score: 0
    Profile photo of Darrel Somoza
    Darrel Somoza
    Member
    contributor
    friend finder
    beginner
    intermediate
    junior moderator
    advanced
    wise owl
    curious george
    profile
    209 pts
    @Klaatu

    I’m glad you got it working.

    #424565 Score: 0
    Profile photo of clammers
    clammers
    Member
    beginner
    intermediate
    contributor
    curious george
    wise owl
    picture perfect
    friend finder
    advanced
    entry
    entry
    20 pts
    @clammers

    I attempted to incorporate the library object, but when I change the recipient, reverts back to recipient@domain.com

    #424567 Score: 1
    Profile photo of Darrel Somoza
    Darrel Somoza
    Member
    contributor
    friend finder
    beginner
    intermediate
    junior moderator
    advanced
    wise owl
    curious george
    profile
    209 pts
    @Klaatu

    Clammers you are correct. I apologize. I did not test it beyond the first email. Here are two similar library objects that have the run JavaScript built in. Its pretty much the same as the other two I posted but will work properly. You’ll just need to change the address just as you would have with the first ones.

    This post has received 1 vote up.
    #426987 Score: 0
    Profile photo of Joe Wieloch
    Joe Wieloch
    Moderator
    beginner
    intermediate
    friend finder
    contributor
    LUC16 Attendee
    verified member
    wise owl
    LUC17 Attendee
    advanced
    picture perfect
    59 pts
    @wheels

    Here is a title as a Lectora Online package file (which you can import to any Lectora) which has a JavaScript action to send email. It allows you to modify variables for the send to email, subject, cc, bcc, and body.

    Should work great, please let me know if there is an issue with it.

    Attachments:
    1. SendEmail.pkg
    #437291 Score: 0
    Profile photo of Chrisanna (Chris) Paxton McMillin
    Chrisanna (Chris) Paxton McMillin
    Member
    beginner
    intermediate
    friend finder
    verified member
    advanced
    contributor
    testimonial writer
    LUC16 Attendee
    picture perfect
    profile
    2 pts
    @cpaxton

    If we wanted to have the JS automatically put the subject into the email…could we?

    This is how I used to do it….Name@Email.com?SUBJECT=CourseCode or Course Name

    I currently have my button with an action to Run JS and in the window, I’ve put: window.location.href = “mailto:NAME@email.com”;

    The above works fine in ScormCloud, but if I try any variation to add the subject, I only see a white screen in ScormCloud.

    Here are the variations I’ve tried:

    • window.location.href = “mailto:NAME@email.com”;?SUBJECT=CourseCode
    • window.location.href = “mailto:NAME@email.com”?SUBJECT=CourseCode
    • window.location.href = “mailto:NAME@email.com”;SUBJECT=CourseCode

    I have my JS (I took a 1-day class in October) notes at home and I’m traveling, but have someone asking me about it now. Any help would be appreciated!!!

    -Chris

    #437331 Score: 0
    Profile photo of Tim Gleason
    Tim Gleason
    Member
    beginner
    intermediate
    Group Member
    curious george
    friend finder
    wise owl
    contributor
    1 pt
    @tgleason9221

    Hi,

    Question mark only after the email address and move the quotes to the end, like this:

    window.location.href = “mailto:NAME@email.com?SUBJECT=CourseCode”

     

    #437369 Score: 0
    Profile photo of Chrisanna (Chris) Paxton McMillin
    Chrisanna (Chris) Paxton McMillin
    Member
    beginner
    intermediate
    friend finder
    verified member
    advanced
    contributor
    testimonial writer
    LUC16 Attendee
    picture perfect
    profile
    2 pts
    @cpaxton

    Hi Tim-

    Thank you for your response, but I still think I’m missing something…I put the OnMouseClick Action of “Run JavaScript” and in the Target put “mailto:NAME@email.com?SUBJECT=CourseCode”

    When I try to test it in ScormCloud, the page doesn’t even show, I just see a white screen. If I remove the “SUBJECT=CourseCode” section, I can see it.

    I’ve attached the page in case that might help.

    Thoughts?

    -Chris

    Attachments:
    1. Title_2.zip
    #437460 Score: 0
    Profile photo of Darrel Somoza
    Darrel Somoza
    Member
    contributor
    friend finder
    beginner
    intermediate
    junior moderator
    advanced
    wise owl
    curious george
    profile
    209 pts
    @Klaatu

    Try SUBJECT in lowercase.

    #437767 Score: 0
    Profile photo of Chrisanna (Chris) Paxton McMillin
    Chrisanna (Chris) Paxton McMillin
    Member
    beginner
    intermediate
    friend finder
    verified member
    advanced
    contributor
    testimonial writer
    LUC16 Attendee
    picture perfect
    profile
    2 pts
    @cpaxton

    It still shows up a page of white. 🙁

    #437865 Score: 1
    Profile photo of Tim Gleason
    Tim Gleason
    Member
    beginner
    intermediate
    Group Member
    curious george
    friend finder
    wise owl
    contributor
    1 pt
    @tgleason9221

    The first quotation mark appears to be a smart quote.  This can be easily noticed if you copy/paste into notepad or a similar text editor.  If you have code that is inexplicably not working it’s always a good idea to try this to identify an abnormality.  See attached.  Replace the first quotation mark with a standard one and you should be good.

    This post has received 1 vote up.
    Attachments:
    #447150 Score: 0
    Profile photo of Lisa Willey
    Lisa Willey
    Member
    beginner
    intermediate
    Group Member
    wise owl
    @lwilley.2891

    Is this the correct java Script?               window.location.href = ‘mailto:bob@dinkins.com

    #447157 Score: 0
    Profile photo of Lisa Willey
    Lisa Willey
    Member
    beginner
    intermediate
    Group Member
    wise owl
    @lwilley.2891

    I am currently having the send email issue above. I have the send email action from Lectora 17 but when I open the course in a newer version the action no longer works. I tried the java script option but all I get is a blank screen and I am not having issues with opening links that populate email addresses otherwise.

    Any suggestions.

     

    #447159 Score: 0
    Profile photo of Lisa Willey
    Lisa Willey
    Member
    beginner
    intermediate
    Group Member
    wise owl
    @lwilley.2891

    Where to I find the MAILTO default setting?

    #447226 Score: 1
    Profile photo of CarlFink
    CarlFink
    Member
    beginner
    intermediate
    contributor
    LUC16 Attendee
    wise owl
    curious george
    advanced
    36 pts
    @CarlFink

    By the way, I suggested using the JS

    window.open(‘mailto:test@example.com’);

    And that seems to be working for Lisa.

    This post has received 1 vote up.
Viewing 15 posts - 16 through 30 (of 30 total)

You must be logged in to reply to this topic.