Forum Discussion

JimOwen-f418d1f's avatar
JimOwen-f418d1f
Community Member
11 months ago

Can't get email to work anymore

This has been working for days. Now all of a sudden I can't get my JavaScript to send an email for love or money. I do not get it. Not a bit. It is not gotten by me. Grrrr.

In the attached course, the final slide has a trigger to execute Javascript from a button click. The disabled one is the one I've been using for a few days now successfully, until yesterday afternoon when it refused to. The active trigger is the the default script pulled from online examples of emailing from Javascript in Storyline. Neither opens an email.

I changed the trigger to "Send an Email" instead of "Execute Javascript", and that had no problem opening a blank email to send.

...and I am defeated, alas.

  • Hi Jim!

    Thanks for reaching out!

    I noticed that you've opened a support case and connected with my teammate Robert. Glad to hear you found a solution! It looks like Robert replied to your e-mail with some follow-up questions as well.

    We can continue the conversation through your support case to keep all information in one spot.

  • At first glance of your file it will be the javascript you have added to the slide master that is throwing an error in the console

    • JimOwen-f418d1f's avatar
      JimOwen-f418d1f
      Community Member

      Strange, I didn't change any of the Slide Master code from the time it was working to the time it stopped working.

      • PhilMayor's avatar
        PhilMayor
        Super Hero

        That code is throwing an error and that will break and code after it.
        Sent from my iPhone

  • OK, it took a long time, but I figured it out. I had named a variable 'this'. Changing it to anything else fixed the problem. Thanks for pointing me in the right direction.