Forum Discussion
Andrew35
9 months agoCommunity Member
Javascript for sending an email
Hi there Hope someone can help tell me what's wrong with my JS for sending an email with Text Entry data. For context I want the email to go to a specific address and it will contain the text entri...
- 9 months ago
Both let and var create new variables in JavaScript. The difference between the two is their scope.
- A variable declared by let is only available inside of the block in which it is defined
- A variable declared by var is available throughout the function in which it is defined, or globally if it's defined outside of a function
Andrew35
9 months agoCommunity Member
I just tried your Story file and I get this window pop up...
Does this look like there's something blocking it e.g. company firewalls or similar?
Out of interest, should it work whilst in SL or does it need to be published for it to work?
Thanks.
Andrew
Andrew35
9 months agoCommunity Member
Apologies, it was indeed because I needed to publish it and it is now working.
I'm just now trying to work out how I can format the email for each of the three entries to be under separate headings.
Andrew
Related Content
- 5 months ago