<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
<br>I'm running it off my server, the same one that the desktop version was developed and worked on as a published piece. Same code.<div>So unless the XOT install does something to permissions, should be same right?</div><div><br></div><div><br></div><div><div><hr id="stopSpelling">From: Julian.Tenney@nottingham.ac.uk<br>To: xerte@lists.nottingham.ac.uk<br>Date: Thu, 24 Nov 2011 13:08:18 +0000<br>Subject: [Xerte] Re: Can I send mail in toolkits via asp page<br><br>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML"><style>
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal
{margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.ecxMsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass p
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass span.ecxEmailStyle18
{font-family:"Calibri","sans-serif";color:#1F497D;}
.ExternalClass .ecxMsoChpDefault
{font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;}
.ExternalClass div.ecxWordSection1
{page:WordSection1;}

</style><div class="ecxWordSection1"><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Not sure: debug it.</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I normally use the interactionID, but that’s just habit. I think the whole page is made from the model, I don’t think it dives for the children only.</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Do you know if anything reaches the script?</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I’ve got a feeling this is security, because local files will work.</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Quick and easy to make a toolkits project locally and test it there.</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="ecxMsoNormal" style="margin-left:36.0pt"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Dave Burnett<br><b>Sent:</b> 24 November 2011 12:47<br><b>To:</b> Xerte list<br><b>Subject:</b> [Xerte] Re: Can I send mail in toolkits via asp page</span></p></div></div><p class="ecxMsoNormal" style="margin-left:36.0pt"> </p><div><div><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p></div><div><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">It works locally as a single page piece.</span></p></div><div><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p></div><div><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">I make a model of that page and import as Xerte content.</span></p></div><div><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p></div><div><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">When I run it, I am setting onscreen text after the sendandload, which appears, so the code is executing, but the sendandload is not happening.</span></p></div><div><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p></div><div><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">The page ID is  in the sendandLoad,</span></p></div><div><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p></div><div><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">send_email_u2course.sendAndLoadVars....</span></p></div><div><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p></div><div><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Is the ID somehow changed when imported as a model?</span></p></div><div><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p></div><div><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p></div><div><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p></div><div><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p></div><div><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p></div><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p><div><p class="ecxMsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">> From: Julian.Tenney@nottingham.ac.uk<br>> To: xerte@lists.nottingham.ac.uk<br>> Date: Thu, 24 Nov 2011 08:52:38 +0000<br>> Subject: [Xerte] Re: Can I send mail in toolkits via asp page<br>> <br>> It should do, yes. Make a local project so you can debug it. Is this security? Does your ado get called at all?<br>> ________________________________________<br>> From: xerte-bounces@lists.nottingham.ac.uk [xerte-bounces@lists.nottingham.ac.uk] On Behalf Of KnowledgeWare [knowledgeware@kccsoft.com]<br>> Sent: 24 November 2011 01:39<br>> To: 'Xerte discussion list'<br>> Subject: [Xerte] Re: Can I send mail in toolkits via asp page<br>> <br>> I have mail sending in desktop xerte 2 via sendAndLoadVars through an asp<br>> page.<br>> <br>> I've saved a page with an attached script icon with the email send code (as<br>> below) as a model and imported it to toolkits 1.5. The script icon is set to<br>> isFunc=0 in the toolkits version so it will execute (it's isFunc = 1 in the<br>> desktop version because it has to be called to execute). I'm expecting the<br>> code to execute and the mail to send. The testemail.asp page at this point<br>> doesn't need any parameters to run, it its called it will send a test mail,<br>> however I can't seem to call it at all with the script below.<br>> <br>> Does toolkits support the use of the script icon? Any reason I can't do<br>> this? Debug and trace don't bring anything up... is there a way to use debug<br>> or trace in toolkits?<br>> <br>> Thanks<br>> RonM2<br>> <br>> Works in desktop, but not after import to toolkits as a model:<br>> <br>> myData = new LoadVars(); //create the loadvars object, then add<br>> parameters<br>> myData.firstname = "Ron";<br>> myData.lastname = "McNutt";<br>> myData.email = "xyx@xyz.com";<br>> myData.phone = "604-000-0000";<br>> myData.addressee = "system@xyz";<br>> myData.program = "test course";<br>> <br>> //now send it<br>> send_email.sendAndLoadVars('HTTP://www.xyz.com/cgi-bin/testemail.asp',<br>> myData);<br>> <br>> <br>> <br>> _______________________________________________<br>> Xerte mailing list<br>> Xerte@lists.nottingham.ac.uk<br>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte<br>> <br>> _______________________________________________<br>> Xerte mailing list<br>> Xerte@lists.nottingham.ac.uk<br>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte<br>> <br>> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.<br>> <br>> This message has been checked for viruses but the contents of an attachment<br>> may still contain software viruses which could damage your computer system:<br>> you are advised to perform your own checks. Email communications with the<br>> University of Nottingham may be monitored as permitted by UK legislation.<br>> </span></p></div></div></div><br>

This message and any attachment are intended solely for the addressee and may 
contain confidential information. If you have received this message in error, 
please send it back to me, and immediately delete it.   Please do not use, 
copy or disclose the information contained in this message or in any attachment.  
Any views or opinions expressed by the author of this email do not necessarily 
reflect the views of the University of Nottingham.
<BR>

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
<BR>
<br>_______________________________________________
Xerte mailing list
Xerte@lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.</div></div>                                         </div></body>
</html>