[Xerte] Re: Can I send mail in toolkits via asp page
Dave Burnett
d_b_burnett at hotmail.com
Thu Nov 24 12:46:34 GMT 2011
It works locally as a single page piece.
I make a model of that page and import as Xerte content.
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.
The page ID is in the sendandLoad,
send_email_u2course.sendAndLoadVars....
Is the ID somehow changed when imported as a model?
> From: Julian.Tenney at nottingham.ac.uk
> To: xerte at lists.nottingham.ac.uk
> Date: Thu, 24 Nov 2011 08:52:38 +0000
> Subject: [Xerte] Re: Can I send mail in toolkits via asp page
>
> It should do, yes. Make a local project so you can debug it. Is this security? Does your ado get called at all?
> ________________________________________
> From: xerte-bounces at lists.nottingham.ac.uk [xerte-bounces at lists.nottingham.ac.uk] On Behalf Of KnowledgeWare [knowledgeware at kccsoft.com]
> Sent: 24 November 2011 01:39
> To: 'Xerte discussion list'
> Subject: [Xerte] Re: Can I send mail in toolkits via asp page
>
> I have mail sending in desktop xerte 2 via sendAndLoadVars through an asp
> page.
>
> I've saved a page with an attached script icon with the email send code (as
> below) as a model and imported it to toolkits 1.5. The script icon is set to
> isFunc=0 in the toolkits version so it will execute (it's isFunc = 1 in the
> desktop version because it has to be called to execute). I'm expecting the
> code to execute and the mail to send. The testemail.asp page at this point
> doesn't need any parameters to run, it its called it will send a test mail,
> however I can't seem to call it at all with the script below.
>
> Does toolkits support the use of the script icon? Any reason I can't do
> this? Debug and trace don't bring anything up... is there a way to use debug
> or trace in toolkits?
>
> Thanks
> RonM2
>
> Works in desktop, but not after import to toolkits as a model:
>
> myData = new LoadVars(); //create the loadvars object, then add
> parameters
> myData.firstname = "Ron";
> myData.lastname = "McNutt";
> myData.email = "xyx at xyz.com";
> myData.phone = "604-000-0000";
> myData.addressee = "system at xyz";
> myData.program = "test course";
>
> //now send it
> send_email.sendAndLoadVars('HTTP://www.xyz.com/cgi-bin/testemail.asp',
> myData);
>
>
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
> _______________________________________________
> Xerte mailing list
> Xerte at 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20111124/ca63ecc3/attachment.html>
More information about the Xerte
mailing list