Forum Discussion
Send results slide via email using Javascript ??
Hello Ashley,
my example is too simple, e.g. when sending mail, it must contain a "From" header. It shouldn't be anonymous, then I have to rather use sth like this:
. $
What do you mean by use .$ Could you please explain further with an updated example of the code.
Could you add something like this to add in your from address to the php code:
$headers ="From: My Site <admin@mysite.org>";$headers .= "\r\nContent-Type: multipart/alternative; boundary=\"PHP-alt-".$random_hash."\"";
- JacekChrabąszcz12 years agoCommunity Member
Hi, a full stop, "." is a symbol for string concatenation in PHP, likewise "+" in e.g. JavaScript. I pass JavaScript variables (via ajax function in Storyline) to PHP then I use a simple mail() function.
W dniu 2014-11-17 23:38:36 użytkownik E-Learning Heroes napisał:
Reply to Send results slide via email using Javascript ??
Bj Wilson replied:
What do you mean by use .$ Could you please explain further with an updated example of the code.
Reply
View
To post a response, simply reply to this email.
You received this email because you subscribed to this discussion. Unsubscribe
© 2014 Articulate Global, Inc. All rights reserved.